diff options
author | erdgeist <> | 2009-03-17 23:57:20 +0000 |
---|---|---|
committer | erdgeist <> | 2009-03-17 23:57:20 +0000 |
commit | c7ed890222939ff9d9a3b575eb83f216ccfebe9e (patch) | |
tree | 09bcb2adbb64b2c3eb53bf20145262d13b258284 /trackerlogic.h | |
parent | a58bce83ad91fa264a79c9a9acc9358bb2aa5661 (diff) |
Fix white spaces
Introduce loading tracker states with -l
Alter tracker state to a human readable form
Diffstat (limited to 'trackerlogic.h')
-rw-r--r-- | trackerlogic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/trackerlogic.h b/trackerlogic.h index ce3feb1..1cf6127 100644 --- a/trackerlogic.h +++ b/trackerlogic.h | |||
@@ -147,6 +147,7 @@ size_t add_peer_to_torrent_and_return_peers( ot_hash hash, ot_peer *peer, PROTO | |||
147 | size_t remove_peer_from_torrent( ot_hash hash, ot_peer *peer, char *reply, PROTO_FLAG proto ); | 147 | size_t remove_peer_from_torrent( ot_hash hash, ot_peer *peer, char *reply, PROTO_FLAG proto ); |
148 | size_t return_tcp_scrape_for_torrent( ot_hash *hash, int amount, char *reply ); | 148 | size_t return_tcp_scrape_for_torrent( ot_hash *hash, int amount, char *reply ); |
149 | size_t return_udp_scrape_for_torrent( ot_hash hash, char *reply ); | 149 | size_t return_udp_scrape_for_torrent( ot_hash hash, char *reply ); |
150 | void add_torrent_from_saved_state( ot_hash hash, ot_time base, size_t down_count ); | ||
150 | 151 | ||
151 | /* torrent iterator */ | 152 | /* torrent iterator */ |
152 | void iterate_all_torrents( int (*for_each)( ot_torrent* torrent, uintptr_t data ), uintptr_t data ); | 153 | void iterate_all_torrents( int (*for_each)( ot_torrent* torrent, uintptr_t data ), uintptr_t data ); |