From 3c88a76b1be759d13097810877d6e990b3371726 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Thu, 4 Apr 2013 01:15:54 +0200 Subject: implement refresh action --- global.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'global.h') 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; -- cgit v1.2.3