summaryrefslogtreecommitdiff
path: root/global.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-04-04 01:15:54 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-04-04 01:15:54 +0200
commit3c88a76b1be759d13097810877d6e990b3371726 (patch)
treedd5627700ef12be7c55d9f3ceda5a9575691a337 /global.h
parent723e0e7f37636379f76008582dca459490b845f4 (diff)
downloadtapasboard-3c88a76b1be759d13097810877d6e990b3371726.tar.gz
tapasboard-3c88a76b1be759d13097810877d6e990b3371726.zip
implement refresh action
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;