diff options
author | erdgeist <> | 2007-11-06 17:50:41 +0000 |
---|---|---|
committer | erdgeist <> | 2007-11-06 17:50:41 +0000 |
commit | 41120f6a0da2cd66788635f40d672eefe3c23fee (patch) | |
tree | f29ae287b270cdc89d5af3fc58bd57dcc8619eea /trackerlogic.h | |
parent | 7e8d7fb25929acaa1dc625fdc5eff74f300c6750 (diff) |
Move stats out of opentracker.c, also have an own file handle udp requests.
Diffstat (limited to 'trackerlogic.h')
-rw-r--r-- | trackerlogic.h | 6 |
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 | ||
50 | extern time_t g_now; | 50 | /* From opentracker.c */ |
51 | extern char static_inbuf[8192]; | ||
52 | extern char static_outbuf[8192]; | ||
53 | extern time_t ot_start_time; | ||
54 | extern time_t g_now; | ||
51 | #define NOW (g_now/OT_POOLS_TIMEOUT) | 55 | #define NOW (g_now/OT_POOLS_TIMEOUT) |
52 | 56 | ||
53 | typedef struct { | 57 | typedef struct { |