summaryrefslogtreecommitdiff
path: root/trackerlogic.h
diff options
context:
space:
mode:
authorerdgeist <>2007-11-06 17:50:41 +0000
committererdgeist <>2007-11-06 17:50:41 +0000
commit41120f6a0da2cd66788635f40d672eefe3c23fee (patch)
treef29ae287b270cdc89d5af3fc58bd57dcc8619eea /trackerlogic.h
parent7e8d7fb25929acaa1dc625fdc5eff74f300c6750 (diff)
Move stats out of opentracker.c, also have an own file handle udp requests.
Diffstat (limited to 'trackerlogic.h')
-rw-r--r--trackerlogic.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/trackerlogic.h b/trackerlogic.h
index fd80f92..9c13a62 100644
--- a/trackerlogic.h
+++ b/trackerlogic.h
@@ -47,7 +47,11 @@ typedef time_t ot_time;
47#define OT_POOLS_COUNT 9 47#define OT_POOLS_COUNT 9
48#define OT_POOLS_TIMEOUT (60*5) 48#define OT_POOLS_TIMEOUT (60*5)
49 49
50extern time_t g_now; 50/* From opentracker.c */
51extern char static_inbuf[8192];
52extern char static_outbuf[8192];
53extern time_t ot_start_time;
54extern time_t g_now;
51#define NOW (g_now/OT_POOLS_TIMEOUT) 55#define NOW (g_now/OT_POOLS_TIMEOUT)
52 56
53typedef struct { 57typedef struct {