diff options
Diffstat (limited to 'ot_livesync.h')
-rw-r--r-- | ot_livesync.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ot_livesync.h b/ot_livesync.h index 27070d6..8c3c96d 100644 --- a/ot_livesync.h +++ b/ot_livesync.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* This software was written by Dirk Engling <erdgeist@erdgeist.org> | 1 | /* This software was written by Dirk Engling <erdgeist@erdgeist.org> |
2 | It is considered beerware. Prost. Skol. Cheers or whatever. | 2 | It is considered beerware. Prost. Skol. Cheers or whatever. |
3 | 3 | ||
4 | $id$ */ | 4 | $id$ */ |
5 | 5 | ||
6 | #ifndef __OT_LIVESYNC_H__ | 6 | #ifndef __OT_LIVESYNC_H__ |
@@ -24,7 +24,7 @@ | |||
24 | 0x001c 0x02 peer's port | 24 | 0x001c 0x02 peer's port |
25 | 0x0020 0x02 peer flags v1 ( SEEDING = 0x80, COMPLETE = 0x40, STOPPED = 0x20 ) | 25 | 0x0020 0x02 peer flags v1 ( SEEDING = 0x80, COMPLETE = 0x40, STOPPED = 0x20 ) |
26 | ]* | 26 | ]* |
27 | 27 | ||
28 | For N == 24: (aggregator syncs) | 28 | For N == 24: (aggregator syncs) |
29 | 0x0000 0x04 id of tracker instance | 29 | 0x0000 0x04 id of tracker instance |
30 | [ 0x0004 0x14 info_hash | 30 | [ 0x0004 0x14 info_hash |
@@ -34,7 +34,7 @@ | |||
34 | 0x0021 0x02 peer flags v1 ( SEEDING = 0x80, COMPLETE = 0x40, STOPPED = 0x20 ) | 34 | 0x0021 0x02 peer flags v1 ( SEEDING = 0x80, COMPLETE = 0x40, STOPPED = 0x20 ) |
35 | ]+ | 35 | ]+ |
36 | ]* | 36 | ]* |
37 | 37 | ||
38 | 38 | ||
39 | */ | 39 | */ |
40 | 40 | ||
@@ -61,7 +61,7 @@ void handle_livesync( const int64 serversocket ); | |||
61 | 61 | ||
62 | #else | 62 | #else |
63 | 63 | ||
64 | /* If no syncing is required, save calling code from #ifdef | 64 | /* If no syncing is required, save calling code from #ifdef |
65 | constructions */ | 65 | constructions */ |
66 | 66 | ||
67 | #define livesync_init() | 67 | #define livesync_init() |