diff options
Diffstat (limited to 'trackerlogic.h')
-rw-r--r-- | trackerlogic.h | 3 |
1 files changed, 0 insertions, 3 deletions
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; | |||
17 | typedef uint32_t ot_dword; | 17 | typedef uint32_t ot_dword; |
18 | 18 | ||
19 | typedef ot_byte ot_hash[20]; | 19 | typedef ot_byte ot_hash[20]; |
20 | typedef ot_dword ot_ip; | ||
21 | typedef time_t ot_time; | 20 | typedef time_t ot_time; |
22 | 21 | ||
23 | /* Some tracker behaviour tunable */ | 22 | /* Some tracker behaviour tunable */ |
@@ -43,7 +42,6 @@ typedef time_t ot_time; | |||
43 | /* This list points to 9 pools of peers each grouped in five-minute-intervals | 42 | /* This list points to 9 pools of peers each grouped in five-minute-intervals |
44 | thus achieving a timeout of 2700s or 45 minutes | 43 | thus achieving a timeout of 2700s or 45 minutes |
45 | These pools are sorted by its binary content */ | 44 | These pools are sorted by its binary content */ |
46 | |||
47 | #define OT_POOLS_COUNT 9 | 45 | #define OT_POOLS_COUNT 9 |
48 | #define OT_POOLS_TIMEOUT (60*5) | 46 | #define OT_POOLS_TIMEOUT (60*5) |
49 | 47 | ||
@@ -105,7 +103,6 @@ void trackerlogic_deinit( void ); | |||
105 | ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer WANT_TRACKER_SYNC_PARAM( int from_changeset ) ); | 103 | ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer WANT_TRACKER_SYNC_PARAM( int from_changeset ) ); |
106 | size_t remove_peer_from_torrent( ot_hash *hash, ot_peer *peer, char *reply, int is_tcp ); | 104 | size_t remove_peer_from_torrent( ot_hash *hash, ot_peer *peer, char *reply, int is_tcp ); |
107 | size_t return_peers_for_torrent( ot_hash *hash, size_t amount, char *reply, int is_tcp ); | 105 | size_t return_peers_for_torrent( ot_hash *hash, size_t amount, char *reply, int is_tcp ); |
108 | size_t return_fullscrape_for_tracker( char **reply ); | ||
109 | size_t return_tcp_scrape_for_torrent( ot_hash *hash, int amount, char *reply ); | 106 | size_t return_tcp_scrape_for_torrent( ot_hash *hash, int amount, char *reply ); |
110 | size_t return_udp_scrape_for_torrent( ot_hash *hash, char *reply ); | 107 | size_t return_udp_scrape_for_torrent( ot_hash *hash, char *reply ); |
111 | void clean_all_torrents( void ); | 108 | void clean_all_torrents( void ); |