summaryrefslogtreecommitdiff
path: root/src/ot_workqueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ot_workqueue.h')
-rw-r--r--src/ot_workqueue.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ot_workqueue.h b/src/ot_workqueue.h
index 82ae29b..982292e 100644
--- a/src/ot_workqueue.h
+++ b/src/ot_workqueue.h
@@ -29,7 +29,6 @@ typedef enum {
29 TASK_STATS = 0x0100, /* Mask */ 29 TASK_STATS = 0x0100, /* Mask */
30 TASK_STATS_TORRENTS = 0x0101, 30 TASK_STATS_TORRENTS = 0x0101,
31 TASK_STATS_PEERS = 0x0102, 31 TASK_STATS_PEERS = 0x0102,
32 TASK_STATS_SLASH24S = 0x0103,
33 TASK_STATS_TOP10 = 0x0104, 32 TASK_STATS_TOP10 = 0x0104,
34 TASK_STATS_TOP100 = 0x0105, 33 TASK_STATS_TOP100 = 0x0105,
35 TASK_STATS_EVERYTHING = 0x0106, 34 TASK_STATS_EVERYTHING = 0x0106,
@@ -65,7 +64,7 @@ void workqueue_pushsuccess(ot_taskid taskid);
65ot_taskid workqueue_poptask(ot_tasktype *tasktype); 64ot_taskid workqueue_poptask(ot_tasktype *tasktype);
66int workqueue_pushresult(ot_taskid taskid, size_t iovec_entries, struct iovec *iovector); 65int workqueue_pushresult(ot_taskid taskid, size_t iovec_entries, struct iovec *iovector);
67int workqueue_pushchunked(ot_taskid taskid, struct iovec *iovec); 66int workqueue_pushchunked(ot_taskid taskid, struct iovec *iovec);
68int64_t workqueue_popresult(size_t *iovec_entries, struct iovec **iovector, int *is_partial); 67int64_t workqueue_popresult(size_t *iovec_entries, struct iovec **iovector, int *is_partial, uint32_t *generation);
69 68
70void workqueue_init(void); 69void workqueue_init(void);
71void workqueue_deinit(void); 70void workqueue_deinit(void);