diff options
Diffstat (limited to 'ot_sync.h')
| -rw-r--r-- | ot_sync.h | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -6,12 +6,14 @@ | |||
| 6 | #ifndef OT_SYNC_H__ | 6 | #ifndef OT_SYNC_H__ |
| 7 | #define OT_SYNC_H__ | 7 | #define OT_SYNC_H__ |
| 8 | 8 | ||
| 9 | #include <stdint.h> | ||
| 10 | |||
| 9 | #ifdef WANT_SYNC_BATCH | 11 | #ifdef WANT_SYNC_BATCH |
| 10 | enum { SYNC_IN, SYNC_OUT }; | 12 | enum { SYNC_IN, SYNC_OUT }; |
| 11 | 13 | ||
| 12 | void sync_init(); | 14 | void sync_init(); |
| 13 | void sync_deinit(); | 15 | void sync_deinit(); |
| 14 | void sync_deliver(int64 socket); | 16 | void sync_deliver(int64_t socket); |
| 15 | 17 | ||
| 16 | int add_changeset_to_tracker(uint8_t *data, size_t len); | 18 | int add_changeset_to_tracker(uint8_t *data, size_t len); |
| 17 | #else | 19 | #else |
