summaryrefslogtreecommitdiff
path: root/trackerlogic.h
diff options
context:
space:
mode:
Diffstat (limited to 'trackerlogic.h')
-rw-r--r--trackerlogic.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/trackerlogic.h b/trackerlogic.h
index 7e6e8ad..e43fcdb 100644
--- a/trackerlogic.h
+++ b/trackerlogic.h
@@ -67,6 +67,10 @@ typedef struct { ot_ip6 address; int bits; }
67#define OT_BUCKET_COUNT (1<<OT_BUCKET_COUNT_BITS) 67#define OT_BUCKET_COUNT (1<<OT_BUCKET_COUNT_BITS)
68#define OT_BUCKET_COUNT_SHIFT (32-OT_BUCKET_COUNT_BITS) 68#define OT_BUCKET_COUNT_SHIFT (32-OT_BUCKET_COUNT_BITS)
69 69
70/* if _DEBUG_RANDOMTORRENTS is set, this is the amount of torrents to create
71 on startup */
72#define RANDOMTORRENTS (1024*1024*1)
73
70/* From opentracker.c */ 74/* From opentracker.c */
71extern time_t g_now_seconds; 75extern time_t g_now_seconds;
72extern volatile int g_opentracker_running; 76extern volatile int g_opentracker_running;