Simple top5 by peers/seeders table

dynamic-accesslists
erdgeist 18 years ago
parent 005ff4e231
commit c16330df6a

@ -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 );

Loading…
Cancel
Save