diff options
author | erdgeist <> | 2007-01-17 17:39:36 +0000 |
---|---|---|
committer | erdgeist <> | 2007-01-17 17:39:36 +0000 |
commit | c16330df6ac202197efa9964b7579b98e0571e0e (patch) | |
tree | 5cef472a5bd771534ee0d2085f73090d916e5b7c /trackerlogic.h | |
parent | 005ff4e2313da86eb01c939c1859b92608e181c7 (diff) |
Simple top5 by peers/seeders table
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 | ||