diff options
author | erdgeist <> | 2008-11-28 22:21:10 +0000 |
---|---|---|
committer | erdgeist <> | 2008-11-28 22:21:10 +0000 |
commit | 334c6e4bbb97a4c0656e1b07c3e6a565f68eae2b (patch) | |
tree | f84ad28c39b32d0906e32e8ba5e461ecdaed7799 /ot_livesync.h | |
parent | ff6c0339c13a6b42149ba91da14dbb824307cea7 (diff) |
The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version.
Diffstat (limited to 'ot_livesync.h')
-rw-r--r-- | ot_livesync.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ot_livesync.h b/ot_livesync.h index 8c3c96d..c534f59 100644 --- a/ot_livesync.h +++ b/ot_livesync.h | |||
@@ -35,7 +35,6 @@ | |||
35 | ]+ | 35 | ]+ |
36 | ]* | 36 | ]* |
37 | 37 | ||
38 | |||
39 | */ | 38 | */ |
40 | 39 | ||
41 | #ifdef WANT_SYNC_LIVE | 40 | #ifdef WANT_SYNC_LIVE |
@@ -49,7 +48,7 @@ void livesync_deinit(); | |||
49 | void livesync_bind_mcast( char *ip, uint16_t port ); | 48 | void livesync_bind_mcast( char *ip, uint16_t port ); |
50 | 49 | ||
51 | /* Inform live sync about whats going on. */ | 50 | /* Inform live sync about whats going on. */ |
52 | void livesync_tell( ot_hash * const info_hash, const ot_peer * const peer, const uint8_t peerflag ); | 51 | void livesync_tell( ot_hash * const info_hash, const ot_peer * const peer ); |
53 | 52 | ||
54 | /* Tickle the live sync module from time to time, so no events get | 53 | /* Tickle the live sync module from time to time, so no events get |
55 | stuck when there's not enough traffic to fill udp packets fast | 54 | stuck when there's not enough traffic to fill udp packets fast |
@@ -63,7 +62,6 @@ void handle_livesync( const int64 serversocket ); | |||
63 | 62 | ||
64 | /* If no syncing is required, save calling code from #ifdef | 63 | /* If no syncing is required, save calling code from #ifdef |
65 | constructions */ | 64 | constructions */ |
66 | |||
67 | #define livesync_init() | 65 | #define livesync_init() |
68 | #define livesync_ticker() | 66 | #define livesync_ticker() |
69 | #define handle_livesync(a) | 67 | #define handle_livesync(a) |