summaryrefslogtreecommitdiff
path: root/trackerlogic.h
diff options
context:
space:
mode:
authorerdgeist <>2007-03-27 12:07:29 +0000
committererdgeist <>2007-03-27 12:07:29 +0000
commitb38104b9862a57271567c3dcb7e004addbe70ffc (patch)
tree1c44255dbd89d50619be75914680e79eb5f17e24 /trackerlogic.h
parent1d2d3c9d957a9fe5ed81b016af11d434752d92eb (diff)
Added outbound part of sync Proposed format: d4:syncd20:<info_hash>8*N:(xxxxyy)*Nee, therefore had to refactor torrent cleanup now that it will hit all torrents once every OT_POOL_TIMEOUT units.
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 fbc86ea..dfd5047 100644
--- a/trackerlogic.h
+++ b/trackerlogic.h
@@ -98,9 +98,10 @@ size_t return_peers_for_torrent( ot_torrent *torrent, size_t amount, char *reply
98size_t return_fullscrape_for_tracker( char **reply ); 98size_t return_fullscrape_for_tracker( char **reply );
99size_t return_tcp_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_udp_scrape_for_torrent( ot_hash *hash, char *reply );
101size_t return_sync_for_torrent( ot_hash *hash, char **reply );
102size_t return_stats_for_tracker( char *reply, int mode ); 101size_t return_stats_for_tracker( char *reply, int mode );
103size_t return_memstat_for_tracker( char **reply ); 102size_t return_memstat_for_tracker( char **reply );
103size_t return_changeset_for_tracker( char **reply );
104void clean_all_torrents( void );
104void remove_peer_from_torrent( ot_hash *hash, ot_peer *peer ); 105void remove_peer_from_torrent( ot_hash *hash, ot_peer *peer );
105 106
106#endif 107#endif