From a0d12f9ab579df498187b8176903c98bb1ef9373 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Mon, 12 Nov 2007 01:38:54 +0000 Subject: Full scrape moves to its own object --- trackerlogic.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'trackerlogic.h') diff --git a/trackerlogic.h b/trackerlogic.h index 9c13a62..b216e50 100644 --- a/trackerlogic.h +++ b/trackerlogic.h @@ -17,7 +17,6 @@ typedef uint16_t ot_word; typedef uint32_t ot_dword; typedef ot_byte ot_hash[20]; -typedef ot_dword ot_ip; typedef time_t ot_time; /* Some tracker behaviour tunable */ @@ -43,7 +42,6 @@ typedef time_t ot_time; /* This list points to 9 pools of peers each grouped in five-minute-intervals thus achieving a timeout of 2700s or 45 minutes These pools are sorted by its binary content */ - #define OT_POOLS_COUNT 9 #define OT_POOLS_TIMEOUT (60*5) @@ -105,7 +103,6 @@ void trackerlogic_deinit( void ); ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer WANT_TRACKER_SYNC_PARAM( int from_changeset ) ); size_t remove_peer_from_torrent( ot_hash *hash, ot_peer *peer, char *reply, int is_tcp ); size_t return_peers_for_torrent( ot_hash *hash, size_t amount, char *reply, int is_tcp ); -size_t return_fullscrape_for_tracker( char **reply ); size_t return_tcp_scrape_for_torrent( ot_hash *hash, int amount, char *reply ); size_t return_udp_scrape_for_torrent( ot_hash *hash, char *reply ); void clean_all_torrents( void ); -- cgit v1.2.3