diff options
Diffstat (limited to 'trackerlogic.h')
-rw-r--r-- | trackerlogic.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/trackerlogic.h b/trackerlogic.h index eb4d4f6..3b2d883 100644 --- a/trackerlogic.h +++ b/trackerlogic.h | |||
@@ -84,7 +84,7 @@ 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 | enum { STATS_MRTG, STATS_TOP5, STATS_DMEM, STATS_TCP, STATS_UDP, SYNC_IN, SYNC_OUT }; | 87 | enum { STATS_MRTG, STATS_TOP5, STATS_DMEM, STATS_TCP, STATS_UDP, STATS_SLASH24S, SYNC_IN, SYNC_OUT }; |
88 | 88 | ||
89 | ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer, int from_changeset ); | 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 ); | 90 | int add_changeset_to_tracker( ot_byte *data, size_t len ); |
@@ -93,6 +93,7 @@ size_t return_fullscrape_for_tracker( char **reply ); | |||
93 | 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 ); |
94 | size_t return_udp_scrape_for_torrent( ot_hash *hash, char *reply ); | 94 | size_t return_udp_scrape_for_torrent( ot_hash *hash, char *reply ); |
95 | size_t return_stats_for_tracker( char *reply, int mode ); | 95 | size_t return_stats_for_tracker( char *reply, int mode ); |
96 | size_t return_stats_for_slash24s( char *reply, size_t amount, ot_dword thresh ); | ||
96 | size_t return_memstat_for_tracker( char **reply ); | 97 | size_t return_memstat_for_tracker( char **reply ); |
97 | size_t return_changeset_for_tracker( char **reply ); | 98 | size_t return_changeset_for_tracker( char **reply ); |
98 | void clean_all_torrents( void ); | 99 | void clean_all_torrents( void ); |