summaryrefslogtreecommitdiff
path: root/ot_fullscrape.h
diff options
context:
space:
mode:
authorerdgeist <>2008-10-04 05:40:51 +0000
committererdgeist <>2008-10-04 05:40:51 +0000
commite534db03c6877f8ac0559f63840e9a00e9bd43bf (patch)
tree811181b9b39d0484e28eb25cbb9f2eea094978e2 /ot_fullscrape.h
parent8cbfc8602c73e55770f3c06d8ea42758b22a0401 (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.h9
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
9void fullscrape_init( ); 11void fullscrape_init( );
10void fullscrape_deinit( ); 12void fullscrape_deinit( );
11void fullscrape_deliver( int64 socket, ot_tasktype tasktype ); 13void 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