An open and free bittorrent tracker https://erdgeist.org/gitweb/opentracker
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.
 
 
 
 

25 lines
439 B

  1. /* This software was written by Dirk Engling <erdgeist@erdgeist.org>
  2. It is considered beerware. Prost. Skol. Cheers or whatever.
  3. $id$ */
  4. #ifndef OT_SYNC_H__
  5. #define OT_SYNC_H__
  6. #ifdef WANT_SYNC_BATCH
  7. enum { SYNC_IN, SYNC_OUT };
  8. void sync_init( );
  9. void sync_deinit( );
  10. void sync_deliver( int64 socket );
  11. int add_changeset_to_tracker( uint8_t *data, size_t len );
  12. #else
  13. #define sync_init()
  14. #define sync_deinit()
  15. #endif
  16. #endif