summaryrefslogtreecommitdiff
path: root/trackerlogic.h
diff options
context:
space:
mode:
Diffstat (limited to 'trackerlogic.h')
-rw-r--r--trackerlogic.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/trackerlogic.h b/trackerlogic.h
index 06a9dd1..baa0bd1 100644
--- a/trackerlogic.h
+++ b/trackerlogic.h
@@ -75,9 +75,13 @@ typedef struct {
75// Exported functions 75// Exported functions
76// 76//
77 77
78int init_logic( ); 78int init_logic( char *serverdir );
79void deinit_logic( ); 79void deinit_logic( );
80 80
81#ifdef WANT_CLOSED_TRACKER
82extern int g_closedtracker;
83#endif
84
81ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer ); 85ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer );
82size_t return_peers_for_torrent( ot_torrent *torrent, unsigned long amount, char *reply ); 86size_t return_peers_for_torrent( ot_torrent *torrent, unsigned long amount, char *reply );
83size_t return_scrape_for_torrent( ot_hash *hash, char *reply ); 87size_t return_scrape_for_torrent( ot_hash *hash, char *reply );