1
0
mirror of git://erdgeist.org/opentracker synced 2025-01-15 01:12:07 +00:00
opentracker/ot_sync.h

25 lines
443 B
C
Raw Normal View History

/* 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$ */
#ifndef __OT_SYNC_H__
#define __OT_SYNC_H__
#ifdef WANT_SYNC_BATCH
enum { SYNC_IN, SYNC_OUT };
void sync_init( );
void sync_deinit( );
void sync_deliver( int64 socket );
int add_changeset_to_tracker( uint8_t *data, size_t len );
#else
#define sync_init()
#define sync_deinit()
#endif
#endif