diff options
author | erdgeist <> | 2006-12-07 02:58:02 +0000 |
---|---|---|
committer | erdgeist <> | 2006-12-07 02:58:02 +0000 |
commit | 1c1fd9fe4a2ff21bad94190875c12bd353c13360 (patch) | |
tree | 9e480aaeae5f168c7b4e80fb5a7f0e40d15b96aa /trackerlogic.h | |
parent | e31f00dac1cd4d30c192d3287d3c726e3b2a0372 (diff) |
Started to implement glue
Diffstat (limited to 'trackerlogic.h')
-rw-r--r-- | trackerlogic.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/trackerlogic.h b/trackerlogic.h index 46efb57..03ed577 100644 --- a/trackerlogic.h +++ b/trackerlogic.h | |||
@@ -57,4 +57,15 @@ void *binary_search( const void *key, const void *base, | |||
57 | int (*compar) (const void *, const void *), | 57 | int (*compar) (const void *, const void *), |
58 | int *exactmatch ); | 58 | int *exactmatch ); |
59 | 59 | ||
60 | // | ||
61 | // Exported functions | ||
62 | // | ||
63 | |||
64 | int init_logic( char *chdir_directory ); | ||
65 | void deinit_logic( ); | ||
66 | |||
67 | ot_torrent add_peer_to_torrent( ot_hash hash, ot_peer peer ); | ||
68 | void return_peers_for_torrent( ot_torrent torrent, unsigned long amount, char *reply ); | ||
69 | void heal_torrent( ot_torrent torrent ); | ||
70 | |||
60 | #endif | 71 | #endif |