From 1c1fd9fe4a2ff21bad94190875c12bd353c13360 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Thu, 7 Dec 2006 02:58:02 +0000 Subject: Started to implement glue --- trackerlogic.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'trackerlogic.h') 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, int (*compar) (const void *, const void *), int *exactmatch ); +// +// Exported functions +// + +int init_logic( char *chdir_directory ); +void deinit_logic( ); + +ot_torrent add_peer_to_torrent( ot_hash hash, ot_peer peer ); +void return_peers_for_torrent( ot_torrent torrent, unsigned long amount, char *reply ); +void heal_torrent( ot_torrent torrent ); + #endif -- cgit v1.2.3