summaryrefslogtreecommitdiff
path: root/ot_fullscrape.c
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.c
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.c')
-rw-r--r--ot_fullscrape.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ot_fullscrape.c b/ot_fullscrape.c
index 0aa7fb9..8175722 100644
--- a/ot_fullscrape.c
+++ b/ot_fullscrape.c
@@ -3,6 +3,8 @@
3 3
4 $id$ */ 4 $id$ */
5 5
6#ifdef WANT_FULLSCRAPE
7
6/* System */ 8/* System */
7#include <sys/param.h> 9#include <sys/param.h>
8#include <sys/uio.h> 10#include <sys/uio.h>
@@ -226,5 +228,6 @@ static void fullscrape_make( int *iovec_entries, struct iovec **iovector, ot_tas
226 /* Release unused memory in current output buffer */ 228 /* Release unused memory in current output buffer */
227 iovec_fixlast( iovec_entries, iovector, r ); 229 iovec_fixlast( iovec_entries, iovector, r );
228} 230}
231#endif
229 232
230const char *g_version_fullscrape_c = "$Source$: $Revision$\n"; 233const char *g_version_fullscrape_c = "$Source$: $Revision$\n";