diff options
Diffstat (limited to 'ot_clean.h')
| -rw-r--r-- | ot_clean.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/ot_clean.h b/ot_clean.h deleted file mode 100644 index 1484d82..0000000 --- a/ot_clean.h +++ /dev/null | |||
| @@ -1,21 +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 | $id$ */ | ||
| 5 | |||
| 6 | #ifndef OT_CLEAN_H__ | ||
| 7 | #define OT_CLEAN_H__ | ||
| 8 | |||
| 9 | #include "trackerlogic.h" | ||
| 10 | |||
| 11 | /* The amount of time a clean cycle should take */ | ||
| 12 | #define OT_CLEAN_INTERVAL_MINUTES 2 | ||
| 13 | |||
| 14 | /* So after each bucket wait 1 / OT_BUCKET_COUNT intervals */ | ||
| 15 | #define OT_CLEAN_SLEEP (((OT_CLEAN_INTERVAL_MINUTES) * 60 * 1000000) / (OT_BUCKET_COUNT)) | ||
| 16 | |||
| 17 | void clean_init(void); | ||
| 18 | void clean_deinit(void); | ||
| 19 | int clean_single_torrent(ot_torrent *torrent); | ||
| 20 | |||
| 21 | #endif | ||
