summaryrefslogtreecommitdiff
path: root/trackerlogic.h
diff options
context:
space:
mode:
authordenis <>2007-03-16 22:46:41 +0000
committerdenis <>2007-03-16 22:46:41 +0000
commit8ac7768b961d3ef90e4b4b7ac6fc6b2322f1aa7f (patch)
tree74c65ac90cc8a91e5b4d766c732cc33569cd9f54 /trackerlogic.h
parent36413e4853a02b7adbd192d362c4c091330e5e88 (diff)
support for udp scrape
Diffstat (limited to 'trackerlogic.h')
-rw-r--r--trackerlogic.h3
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 };
96ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer ); 96ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer );
97size_t return_peers_for_torrent( ot_torrent *torrent, size_t amount, char *reply, int is_tcp ); 97size_t return_peers_for_torrent( ot_torrent *torrent, size_t amount, char *reply, int is_tcp );
98size_t return_fullscrape_for_tracker( char **reply ); 98size_t return_fullscrape_for_tracker( char **reply );
99size_t return_scrape_for_torrent( ot_hash *hash, char *reply ); 99size_t return_tcp_scrape_for_torrent( ot_hash *hash, char *reply );
100size_t return_udp_scrape_for_torrent( ot_hash *hash, char *reply );
100size_t return_sync_for_torrent( ot_hash *hash, char **reply ); 101size_t return_sync_for_torrent( ot_hash *hash, char **reply );
101size_t return_stats_for_tracker( char *reply, int mode ); 102size_t return_stats_for_tracker( char *reply, int mode );
102size_t return_memstat_for_tracker( char **reply ); 103size_t return_memstat_for_tracker( char **reply );