aboutsummaryrefslogtreecommitdiff
path: root/src/core/taskq.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-02-19 11:44:22 -0800
committerGarrett D'Amore <garrett@damore.org>2017-02-19 11:44:22 -0800
commit1981675919003f2ea01971bb4fccbe99c57a2caf (patch)
tree519b56e1bc66aca67d3cb1d87f01c9c270573d03 /src/core/taskq.h
parent5eae01c44c2daeddb778608cb48f188b48782c2e (diff)
downloadnng-1981675919003f2ea01971bb4fccbe99c57a2caf.tar.gz
nng-1981675919003f2ea01971bb4fccbe99c57a2caf.tar.bz2
nng-1981675919003f2ea01971bb4fccbe99c57a2caf.zip
Introduce new generic I/O event framework.
Diffstat (limited to 'src/core/taskq.h')
-rw-r--r--src/core/taskq.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/taskq.h b/src/core/taskq.h
index dc1f4f2d..931e6c77 100644
--- a/src/core/taskq.h
+++ b/src/core/taskq.h
@@ -10,7 +10,11 @@
#ifndef CORE_TASKQ_H
#define CORE_TASKQ_H
-#include "core/nng_impl.h"
+#include "core/defs.h"
+#include "core/list.h"
+
+typedef struct nni_taskq nni_taskq;
+typedef struct nni_taskq_ent nni_taskq_ent;
struct nni_taskq_ent {
nni_list_node tqe_node;