2007-11-06 11:58:32 +00:00
|
|
|
/* This software was written by Dirk Engling <erdgeist@erdgeist.org>
|
2007-12-20 05:59:34 +00:00
|
|
|
It is considered beerware. Prost. Skol. Cheers or whatever.
|
2008-10-28 01:27:22 +00:00
|
|
|
|
2007-12-20 05:59:34 +00:00
|
|
|
$id$ */
|
2007-11-06 11:58:32 +00:00
|
|
|
|
2017-04-28 13:41:24 +00:00
|
|
|
#ifndef OT_SYNC_H__
|
|
|
|
#define OT_SYNC_H__
|
2007-11-06 11:58:32 +00:00
|
|
|
|
2008-10-04 05:40:51 +00:00
|
|
|
#ifdef WANT_SYNC_BATCH
|
2007-11-06 18:02:03 +00:00
|
|
|
enum { SYNC_IN, SYNC_OUT };
|
|
|
|
|
2024-04-14 22:41:43 +00:00
|
|
|
void sync_init();
|
|
|
|
void sync_deinit();
|
|
|
|
void sync_deliver(int64 socket);
|
2007-11-21 01:55:42 +00:00
|
|
|
|
2024-04-14 22:41:43 +00:00
|
|
|
int add_changeset_to_tracker(uint8_t *data, size_t len);
|
2008-10-04 05:40:51 +00:00
|
|
|
#else
|
|
|
|
|
|
|
|
#define sync_init()
|
|
|
|
#define sync_deinit()
|
|
|
|
|
2007-11-06 11:58:32 +00:00
|
|
|
#endif
|
|
|
|
|
2007-11-06 12:03:11 +00:00
|
|
|
#endif
|