aboutsummaryrefslogtreecommitdiff
path: root/src/core/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/defs.h')
-rw-r--r--src/core/defs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/defs.h b/src/core/defs.h
index abb340bc..0a04b732 100644
--- a/src/core/defs.h
+++ b/src/core/defs.h
@@ -50,6 +50,10 @@ typedef uint64_t nni_time; // Abs. time (usec).
typedef int64_t nni_duration; // Rel. time (usec).
typedef void (*nni_worker)(void *);
+typedef struct nni_taskq nni_taskq;
+typedef struct nni_taskq_ent nni_taskq_ent;
+typedef void (*nni_cb)(void *);
+
// Used by transports for scatter gather I/O.
typedef struct {
void * iov_buf;