diff options
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 ); |
