2007-11-06 11:58:32 +00:00
|
|
|
/* 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
|
2007-11-06 18:02:03 +00:00
|
|
|
enum { SYNC_IN, SYNC_OUT };
|
|
|
|
|
2007-11-21 01:55:42 +00:00
|
|
|
void sync_init( );
|
|
|
|
void sync_deinit( );
|
|
|
|
void sync_deliver( int64 socket );
|
|
|
|
|
|
|
|
int add_changeset_to_tracker( ot_byte *data, size_t len );
|
2007-11-06 11:58:32 +00:00
|
|
|
#endif
|
|
|
|
|
2007-11-06 12:03:11 +00:00
|
|
|
#endif
|