From 8900cc0dd980cb08a0af957a1d0dd849bf3c2ac6 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Tue, 6 Nov 2007 11:58:32 +0000 Subject: No one can get access to buckets now without locking them. Also split up the trackerlogic.c-monster in functional sub-units. HEADS UP: this code is untested and not considered stable. --- ot_clean.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ot_clean.h (limited to 'ot_clean.h') diff --git a/ot_clean.h b/ot_clean.h new file mode 100644 index 0000000..9c2fe11 --- /dev/null +++ b/ot_clean.h @@ -0,0 +1,15 @@ +/* This software was written by Dirk Engling + It is considered beerware. Prost. Skol. Cheers or whatever. */ + +#ifndef __OT_CLEAN_H__ +#define __OT_CLEAN_H__ + +#include "trackerlogic.h" + +void clean_init( void ); +void clean_deinit( void ); + +void clean_all_torrents( void ); +int clean_single_torrent( ot_torrent *torrent ); + +#endif \ No newline at end of file -- cgit v1.2.3