1
0
mirror of git://erdgeist.org/opentracker synced 2025-01-14 08:50:10 +00:00
opentracker/ot_sync.h

20 lines
413 B
C

/* This software was written by Dirk Engling <erdgeist@erdgeist.org>
It is considered beerware. Prost. Skol. Cheers or whatever. */
#ifndef __OT_SYNC_H__
#define __OT_SYNC_H__
#include "trackerlogic.h"
#ifdef WANT_TRACKER_SYNC
enum { SYNC_IN, SYNC_OUT };
void sync_init( );
void sync_deinit( );
void sync_deliver( int64 socket );
int add_changeset_to_tracker( ot_byte *data, size_t len );
#endif
#endif