opentracker – An open and free bittorrent tracker
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
386 B

/* 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__
#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( uint8_t *data, size_t len );
#endif
#endif