diff options
Diffstat (limited to 'trackerlogic.h')
-rw-r--r-- | trackerlogic.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/trackerlogic.h b/trackerlogic.h index 64953c6..a46869a 100644 --- a/trackerlogic.h +++ b/trackerlogic.h | |||
@@ -79,10 +79,12 @@ extern int g_closedtracker; | |||
79 | extern int g_check_blacklist; | 79 | extern int g_check_blacklist; |
80 | #endif | 80 | #endif |
81 | 81 | ||
82 | enum { STATS_MRTG, STATS_TOP5 }; | ||
83 | |||
82 | ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer ); | 84 | ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer ); |
83 | size_t return_peers_for_torrent( ot_torrent *torrent, unsigned int amount, char *reply ); | 85 | size_t return_peers_for_torrent( ot_torrent *torrent, unsigned int amount, char *reply ); |
84 | size_t return_scrape_for_torrent( ot_hash *hash, char *reply ); | 86 | size_t return_scrape_for_torrent( ot_hash *hash, char *reply ); |
85 | size_t return_stats_for_tracker( char *reply ); | 87 | size_t return_stats_for_tracker( char *reply, int mode ); |
86 | void remove_peer_from_torrent( ot_hash *hash, ot_peer *peer ); | 88 | void remove_peer_from_torrent( ot_hash *hash, ot_peer *peer ); |
87 | void cleanup_torrents( void ); | 89 | void cleanup_torrents( void ); |
88 | 90 | ||