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