diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2024-04-13 00:47:29 +0200 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2024-04-13 00:47:29 +0200 |
commit | 1a70d9f9ef81ac1b5e843ac71f3538f7845e03ae (patch) | |
tree | 20a20077503c01dc024e88a6a8d82bf89faf22fd /trackerlogic.h | |
parent | 301faeb10c5994a6fd31adc5f0b4f8f2b5c23502 (diff) |
First shot on chunked transfers
Diffstat (limited to 'trackerlogic.h')
-rw-r--r-- | trackerlogic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/trackerlogic.h b/trackerlogic.h index 9f5886d..bc488c9 100644 --- a/trackerlogic.h +++ b/trackerlogic.h | |||
@@ -190,6 +190,7 @@ size_t remove_peer_from_torrent( PROTO_FLAG proto, struct ot_workstruct *ws ); | |||
190 | size_t return_tcp_scrape_for_torrent( ot_hash const *hash_list, int amount, char *reply ); | 190 | size_t return_tcp_scrape_for_torrent( ot_hash const *hash_list, int amount, char *reply ); |
191 | size_t return_udp_scrape_for_torrent( ot_hash const hash, char *reply ); | 191 | size_t return_udp_scrape_for_torrent( ot_hash const hash, char *reply ); |
192 | void add_torrent_from_saved_state( ot_hash const hash, ot_time base, size_t down_count ); | 192 | void add_torrent_from_saved_state( ot_hash const hash, ot_time base, size_t down_count ); |
193 | void trackerlogic_add_random_torrents(size_t amount); | ||
193 | 194 | ||
194 | /* torrent iterator */ | 195 | /* torrent iterator */ |
195 | void iterate_all_torrents( int (*for_each)( ot_torrent* torrent, uintptr_t data ), uintptr_t data ); | 196 | void iterate_all_torrents( int (*for_each)( ot_torrent* torrent, uintptr_t data ), uintptr_t data ); |