Browse Source

Simple top5 by peers/seeders table

dynamic-accesslists
erdgeist 18 years ago
parent
commit
c16330df6a
  1. 4
      trackerlogic.h

4
trackerlogic.h

@ -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…
Cancel
Save