summaryrefslogtreecommitdiff
path: root/global.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-04-01 20:46:39 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-04-01 20:46:39 +0200
commita6e64fbf9404b201b04fbd1ab4b959a18d8f83a9 (patch)
tree6b97b6ac14716dbe51cb105819abde3e36ffd465 /global.h
parent5ef8b38e55c1883224fe1f01f47aba45b7b42666 (diff)
downloadtapasboard-a6e64fbf9404b201b04fbd1ab4b959a18d8f83a9.tar.gz
tapasboard-a6e64fbf9404b201b04fbd1ab4b959a18d8f83a9.zip
add support for actually reading topics
Diffstat (limited to 'global.h')
-rw-r--r--global.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/global.h b/global.h
index db9a3e6..e2b0329 100644
--- a/global.h
+++ b/global.h
@@ -15,9 +15,19 @@
/** Time we should consider other topics in a forum up to date, in seconds. */
#define FORUM_TOPICS_TLL 15 * 60
-/** Number of topics per "block" in the forum view */
+/** Number of topics per "block" in subforum view */
#define FORUM_PAGE_SIZE 20
+/** Time we should consider the most recent posts in a topic up to date, in seconds. */
+#define TOPIC_TOP_TLL 5 * 60
+
+/** Time we should consider other posts in a topic up to date, in seconds. */
+#define TOPIC_POSTS_TLL 15 * 60
+
+/** Number of posts per "block" in topic view */
+#define TOPIC_PAGE_SIZE 20
+
+
extern BoardManager *board_manager;
#endif // GLOBAL_H