summaryrefslogtreecommitdiff
path: root/src/common/workqueue.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-04-06 15:51:52 -0400
committerNick Mathewson <nickm@torproject.org>2017-04-15 11:21:33 -0400
commitb022ea32a685e4163595b5a3ded0bc00bb378896 (patch)
tree8764e6a886f29123b9011bc5248ff2d61e13cfff /src/common/workqueue.h
parent222122450c1e879989c440088c01eaa95e4d6980 (diff)
downloadtor-b022ea32a685e4163595b5a3ded0bc00bb378896.tar.gz
tor-b022ea32a685e4163595b5a3ded0bc00bb378896.zip
Expand cpuworker API to allow other work types
Diffstat (limited to 'src/common/workqueue.h')
-rw-r--r--src/common/workqueue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/workqueue.h b/src/common/workqueue.h
index 5d14e7f6a7..7b483eb7ac 100644
--- a/src/common/workqueue.h
+++ b/src/common/workqueue.h
@@ -16,7 +16,7 @@ typedef struct threadpool_s threadpool_t;
typedef struct workqueue_entry_s workqueue_entry_t;
/** Possible return value from a work function: */
-typedef enum {
+typedef enum workqueue_reply_t {
WQ_RPL_REPLY = 0, /** indicates success */
WQ_RPL_ERROR = 1, /** indicates fatal error */
WQ_RPL_SHUTDOWN = 2, /** indicates thread is shutting down */