summaryrefslogtreecommitdiff
path: root/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'global.h')
-rw-r--r--global.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/global.h b/global.h
index 3b1d6ae..694dce0 100644
--- a/global.h
+++ b/global.h
@@ -21,6 +21,9 @@
/** Number of topics per "block" in subforum view */
#define FORUM_PAGE_SIZE 20
+/** This is the absolute maximum page size the API will allow. */
+#define MAX_FORUM_PAGE_SIZE 50
+
/** Time we should consider the most recent posts in a topic up to date, in seconds. */
#define TOPIC_TOP_TLL 5 * 60
@@ -30,6 +33,9 @@
/** Number of posts per "block" in topic view */
#define TOPIC_PAGE_SIZE 20
+/** This is the absolute maximum page size the API will allow. */
+#define MAX_TOPIC_PAGE_SIZE 50
+
// Some singletons
extern BoardManager *board_manager;