summaryrefslogtreecommitdiff
path: root/ot_clean.h
diff options
context:
space:
mode:
authorerdgeist <>2007-11-06 11:58:32 +0000
committererdgeist <>2007-11-06 11:58:32 +0000
commit8900cc0dd980cb08a0af957a1d0dd849bf3c2ac6 (patch)
tree70aeed1dbaceea343e6ebd000d46df025bae21fc /ot_clean.h
parent5749f1d8fe80cbb84d66a265bcf9bafe159985ab (diff)
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.
Diffstat (limited to 'ot_clean.h')
-rw-r--r--ot_clean.h15
1 files changed, 15 insertions, 0 deletions
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 @@
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
9void clean_init( void );
10void clean_deinit( void );
11
12void clean_all_torrents( void );
13int clean_single_torrent( ot_torrent *torrent );
14
15#endif \ No newline at end of file