summaryrefslogtreecommitdiff
path: root/trackerlogic.h
diff options
context:
space:
mode:
Diffstat (limited to 'trackerlogic.h')
-rw-r--r--trackerlogic.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/trackerlogic.h b/trackerlogic.h
index 5e97e7c..1eff6df 100644
--- a/trackerlogic.h
+++ b/trackerlogic.h
@@ -46,8 +46,6 @@ typedef time_t ot_time;
46#define OT_POOLS_TIMEOUT (60*5) 46#define OT_POOLS_TIMEOUT (60*5)
47 47
48/* From opentracker.c */ 48/* From opentracker.c */
49extern char static_inbuf[8192];
50extern char static_outbuf[8192];
51extern time_t ot_start_time; 49extern time_t ot_start_time;
52extern time_t g_now; 50extern time_t g_now;
53#define NOW (g_now/OT_POOLS_TIMEOUT) 51#define NOW (g_now/OT_POOLS_TIMEOUT)
@@ -105,10 +103,8 @@ size_t remove_peer_from_torrent( ot_hash *hash, ot_peer *peer, char *reply, int
105size_t return_peers_for_torrent( ot_hash *hash, size_t amount, char *reply, int is_tcp ); 103size_t return_peers_for_torrent( ot_hash *hash, size_t amount, char *reply, int is_tcp );
106size_t return_tcp_scrape_for_torrent( ot_hash *hash, int amount, char *reply ); 104size_t return_tcp_scrape_for_torrent( ot_hash *hash, int amount, char *reply );
107size_t return_udp_scrape_for_torrent( ot_hash *hash, char *reply ); 105size_t return_udp_scrape_for_torrent( ot_hash *hash, char *reply );
108void clean_all_torrents( void );
109 106
110/* Helper, before it moves to its own object */ 107/* Helper, before it moves to its own object */
111void fix_mmapallocation( void *buf, size_t old_alloc, size_t new_alloc );
112void free_peerlist( ot_peerlist *peer_list ); 108void free_peerlist( ot_peerlist *peer_list );
113 109
114#endif 110#endif