summaryrefslogtreecommitdiff
path: root/ot_mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'ot_mutex.h')
-rw-r--r--ot_mutex.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ot_mutex.h b/ot_mutex.h
index fdb08a1..9eb17e5 100644
--- a/ot_mutex.h
+++ b/ot_mutex.h
@@ -54,9 +54,11 @@ typedef enum {
54 TASK_DMEM = 0x0300, 54 TASK_DMEM = 0x0300,
55 55
56 TASK_DONE = 0x0f00, 56 TASK_DONE = 0x0f00,
57 TASK_DONE_PARTIAL = 0x0f01,
57 58
58 TASK_FLAG_GZIP = 0x1000, 59 TASK_FLAG_GZIP = 0x1000,
59 TASK_FLAG_BZIP2 = 0x2000, 60 TASK_FLAG_BZIP2 = 0x2000,
61 TASK_FLAG_CHUNKED = 0x4000,
60 62
61 TASK_TASK_MASK = 0x0fff, 63 TASK_TASK_MASK = 0x0fff,
62 TASK_CLASS_MASK = 0x0f00, 64 TASK_CLASS_MASK = 0x0f00,
@@ -70,6 +72,7 @@ void mutex_workqueue_canceltask( int64 sock );
70void mutex_workqueue_pushsuccess( ot_taskid taskid ); 72void mutex_workqueue_pushsuccess( ot_taskid taskid );
71ot_taskid mutex_workqueue_poptask( ot_tasktype *tasktype ); 73ot_taskid mutex_workqueue_poptask( ot_tasktype *tasktype );
72int mutex_workqueue_pushresult( ot_taskid taskid, int iovec_entries, struct iovec *iovector ); 74int mutex_workqueue_pushresult( ot_taskid taskid, int iovec_entries, struct iovec *iovector );
73int64 mutex_workqueue_popresult( int *iovec_entries, struct iovec ** iovector ); 75int mutex_workqueue_pushchunked(ot_taskid taskid, struct iovec *iovec);
76int64 mutex_workqueue_popresult( int *iovec_entries, struct iovec ** iovector, int *is_partial );
74 77
75#endif 78#endif