diff options
Diffstat (limited to 'ot_clean.h')
| -rw-r--r-- | ot_clean.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/ot_clean.h b/ot_clean.h deleted file mode 100644 index e069ee0..0000000 --- a/ot_clean.h +++ /dev/null | |||
| @@ -1,19 +0,0 @@ | |||
| 1 | /* This software was written by Dirk Engling <erdgeist@erdgeist.org> | ||
| 2 | It is considered beerware. Prost. Skol. Cheers or whatever. */ | ||
| 3 | |||
| 4 | #ifndef OT_CLEAN_H__ | ||
| 5 | #define OT_CLEAN_H__ | ||
| 6 | |||
| 7 | #include "trackerlogic.h" | ||
| 8 | |||
| 9 | /* The amount of time a clean cycle should take */ | ||
| 10 | #define OT_CLEAN_INTERVAL_MINUTES 2 | ||
| 11 | |||
| 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)) | ||
| 14 | |||
| 15 | void clean_init(void); | ||
| 16 | void clean_deinit(void); | ||
| 17 | int clean_single_torrent(ot_torrent *torrent); | ||
| 18 | |||
| 19 | #endif | ||
