diff options
Diffstat (limited to 'global.h')
-rw-r--r-- | global.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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; |