summaryrefslogtreecommitdiff
path: root/trackerlogic.h
diff options
context:
space:
mode:
authorerdgeist <>2006-12-07 02:58:02 +0000
committererdgeist <>2006-12-07 02:58:02 +0000
commit1c1fd9fe4a2ff21bad94190875c12bd353c13360 (patch)
tree9e480aaeae5f168c7b4e80fb5a7f0e40d15b96aa /trackerlogic.h
parente31f00dac1cd4d30c192d3287d3c726e3b2a0372 (diff)
Started to implement glue
Diffstat (limited to 'trackerlogic.h')
-rw-r--r--trackerlogic.h11
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
64int init_logic( char *chdir_directory );
65void deinit_logic( );
66
67ot_torrent add_peer_to_torrent( ot_hash hash, ot_peer peer );
68void return_peers_for_torrent( ot_torrent torrent, unsigned long amount, char *reply );
69void heal_torrent( ot_torrent torrent );
70
60#endif 71#endif