diff options
author | denis <> | 2007-03-16 22:46:41 +0000 |
---|---|---|
committer | denis <> | 2007-03-16 22:46:41 +0000 |
commit | 8ac7768b961d3ef90e4b4b7ac6fc6b2322f1aa7f (patch) | |
tree | 74c65ac90cc8a91e5b4d766c732cc33569cd9f54 /trackerlogic.h | |
parent | 36413e4853a02b7adbd192d362c4c091330e5e88 (diff) |
support for udp scrape
Diffstat (limited to 'trackerlogic.h')
-rw-r--r-- | trackerlogic.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/trackerlogic.h b/trackerlogic.h index 59d256e..fbc86ea 100644 --- a/trackerlogic.h +++ b/trackerlogic.h | |||
@@ -96,7 +96,8 @@ enum { STATS_MRTG, STATS_TOP5, STATS_DMEM, STATS_TCP, STATS_UDP }; | |||
96 | ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer ); | 96 | ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer ); |
97 | size_t return_peers_for_torrent( ot_torrent *torrent, size_t amount, char *reply, int is_tcp ); | 97 | size_t return_peers_for_torrent( ot_torrent *torrent, size_t amount, char *reply, int is_tcp ); |
98 | size_t return_fullscrape_for_tracker( char **reply ); | 98 | size_t return_fullscrape_for_tracker( char **reply ); |
99 | size_t return_scrape_for_torrent( ot_hash *hash, char *reply ); | 99 | size_t return_tcp_scrape_for_torrent( ot_hash *hash, char *reply ); |
100 | size_t return_udp_scrape_for_torrent( ot_hash *hash, char *reply ); | ||
100 | size_t return_sync_for_torrent( ot_hash *hash, char **reply ); | 101 | size_t return_sync_for_torrent( ot_hash *hash, char **reply ); |
101 | size_t return_stats_for_tracker( char *reply, int mode ); | 102 | size_t return_stats_for_tracker( char *reply, int mode ); |
102 | size_t return_memstat_for_tracker( char **reply ); | 103 | size_t return_memstat_for_tracker( char **reply ); |