mirror of
git://erdgeist.org/opentracker
synced 2025-02-05 03:26:25 +00:00
Simple top5 by peers/seeders table
This commit is contained in:
parent
005ff4e231
commit
c16330df6a
@ -79,10 +79,12 @@ extern int g_closedtracker;
|
|||||||
extern int g_check_blacklist;
|
extern int g_check_blacklist;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
enum { STATS_MRTG, STATS_TOP5 };
|
||||||
|
|
||||||
ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer );
|
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_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_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 remove_peer_from_torrent( ot_hash *hash, ot_peer *peer );
|
||||||
void cleanup_torrents( void );
|
void cleanup_torrents( void );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user