summaryrefslogtreecommitdiff
path: root/trackerlogic.h
diff options
context:
space:
mode:
authorerdgeist <>2007-01-05 12:25:44 +0000
committererdgeist <>2007-01-05 12:25:44 +0000
commit2aa03492a51e637931981f413a4da28abc75da97 (patch)
tree583782dfd59c2a95eaa2dd65c4e74437c7210a79 /trackerlogic.h
parentcdf2fbabedcd3b9e2423cce74225744db1acc178 (diff)
added closed tracker and blacklist code
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 );