diff options
Diffstat (limited to 'trackerlogic.h')
-rw-r--r-- | trackerlogic.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/trackerlogic.h b/trackerlogic.h index dfd5047..4fa48eb 100644 --- a/trackerlogic.h +++ b/trackerlogic.h | |||
@@ -84,16 +84,10 @@ typedef struct { | |||
84 | int init_logic( const char * const serverdir ); | 84 | int init_logic( const char * const serverdir ); |
85 | void deinit_logic( void ); | 85 | void deinit_logic( void ); |
86 | 86 | ||
87 | #ifdef WANT_CLOSED_TRACKER | 87 | enum { STATS_MRTG, STATS_TOP5, STATS_DMEM, STATS_TCP, STATS_UDP, SYNC_IN, SYNC_OUT }; |
88 | extern int g_closedtracker; | ||
89 | #endif | ||
90 | #ifdef WANT_BLACKLIST | ||
91 | extern int g_check_blacklist; | ||
92 | #endif | ||
93 | |||
94 | enum { STATS_MRTG, STATS_TOP5, STATS_DMEM, STATS_TCP, STATS_UDP }; | ||
95 | 88 | ||
96 | ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer ); | 89 | ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer, int from_changeset ); |
90 | int add_changeset_to_tracker( ot_byte *data, size_t len ); | ||
97 | size_t return_peers_for_torrent( ot_torrent *torrent, size_t amount, char *reply, int is_tcp ); | 91 | size_t return_peers_for_torrent( ot_torrent *torrent, size_t amount, char *reply, int is_tcp ); |
98 | size_t return_fullscrape_for_tracker( char **reply ); | 92 | size_t return_fullscrape_for_tracker( char **reply ); |
99 | size_t return_tcp_scrape_for_torrent( ot_hash *hash, char *reply ); | 93 | size_t return_tcp_scrape_for_torrent( ot_hash *hash, char *reply ); |