1
0
mirror of git://erdgeist.org/opentracker synced 2025-01-26 22:56:26 +00:00

Simple top5 by peers/seeders table

This commit is contained in:
erdgeist 2007-01-17 17:39:36 +00:00
parent 005ff4e231
commit c16330df6a

View File

@ -79,10 +79,12 @@ extern int g_closedtracker;
extern int g_check_blacklist;
#endif
enum { STATS_MRTG, STATS_TOP5 };
ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer );
size_t return_peers_for_torrent( ot_torrent *torrent, unsigned int amount, char *reply );
size_t return_scrape_for_torrent( ot_hash *hash, char *reply );
size_t return_stats_for_tracker( char *reply );
size_t return_stats_for_tracker( char *reply, int mode );
void remove_peer_from_torrent( ot_hash *hash, ot_peer *peer );
void cleanup_torrents( void );