diff options
Diffstat (limited to 'ot_mutex.h')
| -rw-r--r-- | ot_mutex.h | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -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 ); | |||
| 70 | void mutex_workqueue_pushsuccess( ot_taskid taskid ); | 72 | void mutex_workqueue_pushsuccess( ot_taskid taskid ); |
| 71 | ot_taskid mutex_workqueue_poptask( ot_tasktype *tasktype ); | 73 | ot_taskid mutex_workqueue_poptask( ot_tasktype *tasktype ); |
| 72 | int mutex_workqueue_pushresult( ot_taskid taskid, int iovec_entries, struct iovec *iovector ); | 74 | int mutex_workqueue_pushresult( ot_taskid taskid, int iovec_entries, struct iovec *iovector ); |
| 73 | int64 mutex_workqueue_popresult( int *iovec_entries, struct iovec ** iovector ); | 75 | int mutex_workqueue_pushchunked(ot_taskid taskid, struct iovec *iovec); |
| 76 | int64 mutex_workqueue_popresult( int *iovec_entries, struct iovec ** iovector, int *is_partial ); | ||
| 74 | 77 | ||
| 75 | #endif | 78 | #endif |
