diff options
author | erdgeist <> | 2007-01-05 12:25:44 +0000 |
---|---|---|
committer | erdgeist <> | 2007-01-05 12:25:44 +0000 |
commit | 2aa03492a51e637931981f413a4da28abc75da97 (patch) | |
tree | 583782dfd59c2a95eaa2dd65c4e74437c7210a79 /trackerlogic.h | |
parent | cdf2fbabedcd3b9e2423cce74225744db1acc178 (diff) |
added closed tracker and blacklist code
Diffstat (limited to 'trackerlogic.h')
-rw-r--r-- | trackerlogic.h | 6 |
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 | ||
78 | int init_logic( ); | 78 | int init_logic( char *serverdir ); |
79 | void deinit_logic( ); | 79 | void deinit_logic( ); |
80 | 80 | ||
81 | #ifdef WANT_CLOSED_TRACKER | ||
82 | extern int g_closedtracker; | ||
83 | #endif | ||
84 | |||
81 | ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer ); | 85 | ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer ); |
82 | size_t return_peers_for_torrent( ot_torrent *torrent, unsigned long amount, char *reply ); | 86 | size_t return_peers_for_torrent( ot_torrent *torrent, unsigned long amount, char *reply ); |
83 | size_t return_scrape_for_torrent( ot_hash *hash, char *reply ); | 87 | size_t return_scrape_for_torrent( ot_hash *hash, char *reply ); |