You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
opentracker/ot_sync.h

25 lines
433 B
C

/* This software was written by Dirk Engling <erdgeist@erdgeist.org>
It is considered beerware. Prost. Skol. Cheers or whatever.
16 years ago
$id$ */
#ifndef OT_SYNC_H__
#define OT_SYNC_H__
#ifdef WANT_SYNC_BATCH
enum { SYNC_IN, SYNC_OUT };
9 months ago
void sync_init();
void sync_deinit();
void sync_deliver(int64 socket);
9 months ago
int add_changeset_to_tracker(uint8_t *data, size_t len);
#else
#define sync_init()
#define sync_deinit()
#endif
#endif