From 1a70d9f9ef81ac1b5e843ac71f3538f7845e03ae Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Sat, 13 Apr 2024 00:47:29 +0200 Subject: First shot on chunked transfers --- trackerlogic.h | 1 + 1 file changed, 1 insertion(+) (limited to 'trackerlogic.h') 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 ); size_t return_tcp_scrape_for_torrent( ot_hash const *hash_list, int amount, char *reply ); size_t return_udp_scrape_for_torrent( ot_hash const hash, char *reply ); void add_torrent_from_saved_state( ot_hash const hash, ot_time base, size_t down_count ); +void trackerlogic_add_random_torrents(size_t amount); /* torrent iterator */ void iterate_all_torrents( int (*for_each)( ot_torrent* torrent, uintptr_t data ), uintptr_t data ); -- cgit v1.2.3