summaryrefslogtreecommitdiff
path: root/trackerlogic.h
diff options
context:
space:
mode:
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