summaryrefslogtreecommitdiff
path: root/ot_mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'ot_mutex.h')
-rw-r--r--ot_mutex.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/ot_mutex.h b/ot_mutex.h
index e16a097..ae295be 100644
--- a/ot_mutex.h
+++ b/ot_mutex.h
@@ -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
9void mutex_init( ); 11void mutex_init( );
10void mutex_deinit( ); 12void 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