diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2026-10-24 20:30:30 +0200 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2026-10-24 20:30:30 +0200 |
| commit | 96fa1b7327b35cdeca6c77f2fdde906cabc437d8 (patch) | |
| tree | 788e6989072decc9a1d6f4c85ec1c95cd49e4d3d /ot_sync.h | |
| parent | 6815f7a03324b5326e7b7d155c93caa1af5ea356 (diff) | |
Replace custom int64 with its standardized int64_t type
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 |
