From 8ac7768b961d3ef90e4b4b7ac6fc6b2322f1aa7f Mon Sep 17 00:00:00 2001 From: denis <> Date: Fri, 16 Mar 2007 22:46:41 +0000 Subject: support for udp scrape --- trackerlogic.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'trackerlogic.h') 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 }; ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer ); size_t return_peers_for_torrent( ot_torrent *torrent, size_t amount, char *reply, int is_tcp ); size_t return_fullscrape_for_tracker( char **reply ); -size_t return_scrape_for_torrent( ot_hash *hash, char *reply ); +size_t return_tcp_scrape_for_torrent( ot_hash *hash, char *reply ); +size_t return_udp_scrape_for_torrent( ot_hash *hash, char *reply ); size_t return_sync_for_torrent( ot_hash *hash, char **reply ); size_t return_stats_for_tracker( char *reply, int mode ); size_t return_memstat_for_tracker( char **reply ); -- cgit v1.2.3