summaryrefslogtreecommitdiff
path: root/trackerlogic.h
diff options
context:
space:
mode:
authorerdgeist <>2007-03-06 19:43:47 +0000
committererdgeist <>2007-03-06 19:43:47 +0000
commit0a9021668658a2db0f52a3bcb062c74bd318ac8b (patch)
tree73557a3215698d702582295ec309a434a061993b /trackerlogic.h
parent175c37c3e89f179a3da82a66b06b931b24a52b98 (diff)
udp is working in theory, return_peers_for_torrent accepts a switch to request an udp answer. Fixed prototypes.
Diffstat (limited to 'trackerlogic.h')
-rw-r--r--trackerlogic.h4
1 files changed, 2 insertions, 2 deletions
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;
94enum { STATS_MRTG, STATS_TOP5, STATS_DMEM }; 94enum { STATS_MRTG, STATS_TOP5, STATS_DMEM };
95 95
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 ); 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_scrape_for_torrent( ot_hash *hash, char *reply );
100size_t return_sync_for_torrent( ot_hash *hash, char **reply ); 100size_t return_sync_for_torrent( ot_hash *hash, char **reply );
101size_t return_stats_for_tracker( char *reply, int mode ); 101size_t return_stats_for_tracker( char *reply, int mode );
102size_t return_memstat_for_tracker( char **reply ); 102size_t return_memstat_for_tracker( char **reply );
103void remove_peer_from_torrent( ot_hash *hash, ot_peer *peer ); 103void remove_peer_from_torrent( ot_hash *hash, ot_peer *peer );
104 104
105#endif 105#endif