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.
 
 
 
 

20 lines
553 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_CLEAN_H__
  5. #define OT_CLEAN_H__
  6. /* The amount of time a clean cycle should take */
  7. #define OT_CLEAN_INTERVAL_MINUTES 2
  8. /* So after each bucket wait 1 / OT_BUCKET_COUNT intervals */
  9. #define OT_CLEAN_SLEEP ( ( ( OT_CLEAN_INTERVAL_MINUTES ) * 60 * 1000000 ) / ( OT_BUCKET_COUNT ) )
  10. void clean_init( void );
  11. void clean_deinit( void );
  12. int clean_single_torrent( ot_torrent *torrent );
  13. #endif