diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2013-04-04 01:15:54 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2013-04-04 01:15:54 +0200 |
commit | 3c88a76b1be759d13097810877d6e990b3371726 (patch) | |
tree | dd5627700ef12be7c55d9f3ceda5a9575691a337 /global.h | |
parent | 723e0e7f37636379f76008582dca459490b845f4 (diff) | |
download | tapasboard-3c88a76b1be759d13097810877d6e990b3371726.tar.gz tapasboard-3c88a76b1be759d13097810877d6e990b3371726.zip |
implement refresh action
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; |