summaryrefslogtreecommitdiff
path: root/trackerlogic.h
diff options
context:
space:
mode:
Diffstat (limited to 'trackerlogic.h')
-rw-r--r--trackerlogic.h3
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;
17typedef uint32_t ot_dword; 17typedef uint32_t ot_dword;
18 18
19typedef ot_byte ot_hash[20]; 19typedef ot_byte ot_hash[20];
20typedef ot_dword ot_ip;
21typedef time_t ot_time; 20typedef 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 );
105ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer WANT_TRACKER_SYNC_PARAM( int from_changeset ) ); 103ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer WANT_TRACKER_SYNC_PARAM( int from_changeset ) );
106size_t remove_peer_from_torrent( ot_hash *hash, ot_peer *peer, char *reply, int is_tcp ); 104size_t remove_peer_from_torrent( ot_hash *hash, ot_peer *peer, char *reply, int is_tcp );
107size_t return_peers_for_torrent( ot_hash *hash, size_t amount, char *reply, int is_tcp ); 105size_t return_peers_for_torrent( ot_hash *hash, size_t amount, char *reply, int is_tcp );
108size_t return_fullscrape_for_tracker( char **reply );
109size_t return_tcp_scrape_for_torrent( ot_hash *hash, int amount, char *reply ); 106size_t return_tcp_scrape_for_torrent( ot_hash *hash, int amount, char *reply );
110size_t return_udp_scrape_for_torrent( ot_hash *hash, char *reply ); 107size_t return_udp_scrape_for_torrent( ot_hash *hash, char *reply );
111void clean_all_torrents( void ); 108void clean_all_torrents( void );