From 0a9021668658a2db0f52a3bcb062c74bd318ac8b Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Tue, 6 Mar 2007 19:43:47 +0000 Subject: udp is working in theory, return_peers_for_torrent accepts a switch to request an udp answer. Fixed prototypes. --- trackerlogic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'trackerlogic.h') diff --git a/trackerlogic.h b/trackerlogic.h index 5c83f63..360dacb 100644 --- a/trackerlogic.h +++ b/trackerlogic.h @@ -94,12 +94,12 @@ extern int g_check_blacklist; enum { STATS_MRTG, STATS_TOP5, STATS_DMEM }; 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 ); +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_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 ); -void remove_peer_from_torrent( ot_hash *hash, ot_peer *peer ); +void remove_peer_from_torrent( ot_hash *hash, ot_peer *peer ); #endif -- cgit v1.2.3