1 /* This software was written by Dirk Engling <erdgeist@erdgeist.org>
2 It is considered beerware. Prost. Skol. Cheers or whatever.
9 /* The amount of time a clean cycle should take */
10 #define OT_CLEAN_INTERVAL_MINUTES 2
12 /* So after each bucket wait 1 / OT_BUCKET_COUNT intervals */
13 #define OT_CLEAN_SLEEP (((OT_CLEAN_INTERVAL_MINUTES) * 60 * 1000000) / (OT_BUCKET_COUNT))
15 void clean_init(void);
16 void clean_deinit(void);
17 int clean_single_torrent(ot_torrent
*torrent
);