diff options
author | erdgeist <> | 2008-11-28 22:21:10 +0000 |
---|---|---|
committer | erdgeist <> | 2008-11-28 22:21:10 +0000 |
commit | 334c6e4bbb97a4c0656e1b07c3e6a565f68eae2b (patch) | |
tree | f84ad28c39b32d0906e32e8ba5e461ecdaed7799 /ot_mutex.h | |
parent | ff6c0339c13a6b42149ba91da14dbb824307cea7 (diff) |
The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version.
Diffstat (limited to 'ot_mutex.h')
-rw-r--r-- | ot_mutex.h | 13 |
1 files changed, 4 insertions, 9 deletions
@@ -6,6 +6,8 @@ | |||
6 | #ifndef __OT_MUTEX_H__ | 6 | #ifndef __OT_MUTEX_H__ |
7 | #define __OT_MUTEX_H__ | 7 | #define __OT_MUTEX_H__ |
8 | 8 | ||
9 | #include <sys/uio.h> | ||
10 | |||
9 | void mutex_init( ); | 11 | void mutex_init( ); |
10 | void mutex_deinit( ); | 12 | void mutex_deinit( ); |
11 | 13 | ||
@@ -27,27 +29,20 @@ typedef enum { | |||
27 | TASK_STATS_TORADDREM = 0x0009, | 29 | TASK_STATS_TORADDREM = 0x0009, |
28 | TASK_STATS_VERSION = 0x000a, | 30 | TASK_STATS_VERSION = 0x000a, |
29 | TASK_STATS_BUSY_NETWORKS = 0x000b, | 31 | TASK_STATS_BUSY_NETWORKS = 0x000b, |
30 | TASK_STATS_VECTOR_DEBUG = 0x000c, | 32 | TASK_STATS_RENEW = 0x000c, |
31 | TASK_STATS_RENEW = 0x000d, | ||
32 | 33 | ||
33 | TASK_STATS = 0x0100, /* Mask */ | 34 | TASK_STATS = 0x0100, /* Mask */ |
34 | TASK_STATS_TORRENTS = 0x0101, | 35 | TASK_STATS_TORRENTS = 0x0101, |
35 | TASK_STATS_PEERS = 0x0102, | 36 | TASK_STATS_PEERS = 0x0102, |
36 | TASK_STATS_SLASH24S = 0x0103, | 37 | TASK_STATS_SLASH24S = 0x0103, |
37 | TASK_STATS_TOP10 = 0x0104, | 38 | TASK_STATS_TOP10 = 0x0104, |
38 | TASK_STATS_MEMORY = 0x0105, | ||
39 | 39 | ||
40 | TASK_FULLSCRAPE = 0x0200, /* Default mode */ | 40 | TASK_FULLSCRAPE = 0x0200, /* Default mode */ |
41 | TASK_FULLSCRAPE_TPB_BINARY = 0x0201, | 41 | TASK_FULLSCRAPE_TPB_BINARY = 0x0201, |
42 | TASK_FULLSCRAPE_TPB_ASCII = 0x0202, | 42 | TASK_FULLSCRAPE_TPB_ASCII = 0x0202, |
43 | TASK_FULLSCRAPE_TPB_URLENCODED = 0x0203, | 43 | TASK_FULLSCRAPE_TPB_URLENCODED = 0x0203, |
44 | 44 | ||
45 | TASK_CLEAN = 0x0300, | 45 | TASK_DMEM = 0x0300, |
46 | |||
47 | TASK_SYNC_OUT = 0x0400, | ||
48 | TASK_SYNC_IN = 0x0401, | ||
49 | |||
50 | TASK_DMEM = 0x0500, | ||
51 | 46 | ||
52 | TASK_DONE = 0x0f00, | 47 | TASK_DONE = 0x0f00, |
53 | 48 | ||