summaryrefslogtreecommitdiff
path: root/trackerlogic.h
diff options
context:
space:
mode:
Diffstat (limited to 'trackerlogic.h')
-rw-r--r--trackerlogic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/trackerlogic.h b/trackerlogic.h
index 69deddd..ce3feb1 100644
--- a/trackerlogic.h
+++ b/trackerlogic.h
@@ -148,6 +148,9 @@ size_t remove_peer_from_torrent( ot_hash hash, ot_peer *peer, char *reply, PROT
148size_t return_tcp_scrape_for_torrent( ot_hash *hash, int amount, char *reply ); 148size_t return_tcp_scrape_for_torrent( ot_hash *hash, int amount, char *reply );
149size_t return_udp_scrape_for_torrent( ot_hash hash, char *reply ); 149size_t return_udp_scrape_for_torrent( ot_hash hash, char *reply );
150 150
151/* torrent iterator */
152void iterate_all_torrents( int (*for_each)( ot_torrent* torrent, uintptr_t data ), uintptr_t data );
153
151/* Helper, before it moves to its own object */ 154/* Helper, before it moves to its own object */
152void free_peerlist( ot_peerlist *peer_list ); 155void free_peerlist( ot_peerlist *peer_list );
153 156