diff options
| author | erdgeist <> | 2008-10-04 05:40:51 +0000 |
|---|---|---|
| committer | erdgeist <> | 2008-10-04 05:40:51 +0000 |
| commit | e534db03c6877f8ac0559f63840e9a00e9bd43bf (patch) | |
| tree | 811181b9b39d0484e28eb25cbb9f2eea094978e2 /ot_fullscrape.h | |
| parent | 8cbfc8602c73e55770f3c06d8ea42758b22a0401 (diff) | |
added live sync code
added a config file parser
added tracker id
changed WANT_CLOSED_TRACKER and WANT_BLACKLIST into WANT_ACCESS_WHITE and WANT_ACCESS_BLACK
changed WANT_TRACKER_SYNC to WANT_SYNC_BATCH and added WANT_SYNC_LIVE
added an option to switch off fullscrapes
cleaned up many internal hardcoded values, like PROTO_FLAG,
Diffstat (limited to 'ot_fullscrape.h')
| -rw-r--r-- | ot_fullscrape.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ot_fullscrape.h b/ot_fullscrape.h index ccd39f4..4025be1 100644 --- a/ot_fullscrape.h +++ b/ot_fullscrape.h | |||
| @@ -6,8 +6,17 @@ | |||
| 6 | #ifndef __OT_FULLSCRAPE_H__ | 6 | #ifndef __OT_FULLSCRAPE_H__ |
| 7 | #define __OT_FULLSCRAPE_H__ | 7 | #define __OT_FULLSCRAPE_H__ |
| 8 | 8 | ||
| 9 | #ifdef WANT_FULLSCRAPE | ||
| 10 | |||
| 9 | void fullscrape_init( ); | 11 | void fullscrape_init( ); |
| 10 | void fullscrape_deinit( ); | 12 | void fullscrape_deinit( ); |
| 11 | void fullscrape_deliver( int64 socket, ot_tasktype tasktype ); | 13 | void fullscrape_deliver( int64 socket, ot_tasktype tasktype ); |
| 12 | 14 | ||
| 15 | #else | ||
| 16 | |||
| 17 | #define fullscrape_init() | ||
| 18 | #define fullscrape_deinit() | ||
| 19 | |||
| 20 | #endif | ||
| 21 | |||
| 13 | #endif | 22 | #endif |
