]> git.ipfire.org Git - thirdparty/opentracker.git/commitdiff
Fixing mmap allocation went to ot_mutex.c. Clean all torrents moved to ot_clean.c...
authorerdgeist <>
Wed, 21 Nov 2007 01:57:39 +0000 (01:57 +0000)
committererdgeist <>
Wed, 21 Nov 2007 01:57:39 +0000 (01:57 +0000)
trackerlogic.h

index 5e97e7c6717da2c00f0bed0f22a698641b3c970e..1eff6df23678271199731395e3717a8a3c35aec8 100644 (file)
@@ -46,8 +46,6 @@ typedef time_t         ot_time;
 #define OT_POOLS_TIMEOUT (60*5)
 
 /* From opentracker.c */
-extern char static_inbuf[8192];
-extern char static_outbuf[8192];
 extern time_t ot_start_time;
 extern time_t g_now;
 #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
 size_t return_peers_for_torrent( ot_hash *hash, size_t amount, char *reply, int is_tcp );
 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 );
 
 /* Helper, before it moves to its own object */
-void fix_mmapallocation( void *buf, size_t old_alloc, size_t new_alloc );
 void free_peerlist( ot_peerlist *peer_list );
 
 #endif