summaryrefslogtreecommitdiff
path: root/ot_stats.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_stats.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_stats.h')
-rw-r--r--ot_stats.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_stats.h b/ot_stats.h
index 8cc7a5b..72c5b93 100644
--- a/ot_stats.h
+++ b/ot_stats.h
@@ -34,7 +34,7 @@ enum {
34 CODE_HTTPERROR_COUNT 34 CODE_HTTPERROR_COUNT
35}; 35};
36 36
37void stats_issue_event( ot_status_event event, int is_tcp, uint32_t event_data ); 37void stats_issue_event( ot_status_event event, PROTO_FLAG proto, uint32_t event_data );
38size_t return_stats_for_tracker( char *reply, int mode, int format ); 38size_t return_stats_for_tracker( char *reply, int mode, int format );
39size_t stats_return_tracker_version( char *reply ); 39size_t stats_return_tracker_version( char *reply );
40void stats_init( ); 40void stats_init( );