diff options
| -rw-r--r-- | trackerlogic.h | 4 |
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 */ |
| 49 | extern char static_inbuf[8192]; | ||
| 50 | extern char static_outbuf[8192]; | ||
| 51 | extern time_t ot_start_time; | 49 | extern time_t ot_start_time; |
| 52 | extern time_t g_now; | 50 | extern 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 | |||
| 105 | size_t return_peers_for_torrent( ot_hash *hash, size_t amount, char *reply, int is_tcp ); | 103 | size_t return_peers_for_torrent( ot_hash *hash, size_t amount, char *reply, int is_tcp ); |
| 106 | size_t return_tcp_scrape_for_torrent( ot_hash *hash, int amount, char *reply ); | 104 | size_t return_tcp_scrape_for_torrent( ot_hash *hash, int amount, char *reply ); |
| 107 | size_t return_udp_scrape_for_torrent( ot_hash *hash, char *reply ); | 105 | size_t return_udp_scrape_for_torrent( ot_hash *hash, char *reply ); |
| 108 | void clean_all_torrents( void ); | ||
| 109 | 106 | ||
| 110 | /* Helper, before it moves to its own object */ | 107 | /* Helper, before it moves to its own object */ |
| 111 | void fix_mmapallocation( void *buf, size_t old_alloc, size_t new_alloc ); | ||
| 112 | void free_peerlist( ot_peerlist *peer_list ); | 108 | void free_peerlist( ot_peerlist *peer_list ); |
| 113 | 109 | ||
| 114 | #endif | 110 | #endif |
