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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/defs.h b/src/core/defs.h
index 25b131d4..50540102 100644
--- a/src/core/defs.h
+++ b/src/core/defs.h
@@ -39,6 +39,11 @@ typedef struct nni_proto_sock_ops nni_proto_sock_ops;
typedef struct nni_proto_pipe_ops nni_proto_pipe_ops;
typedef struct nni_proto nni_proto;
+typedef struct nni_mtx nni_mtx;
+typedef struct nni_cv nni_cv;
+typedef struct nni_idhash nni_idhash;
+typedef struct nni_thr nni_thr;
+typedef void (*nni_thr_func)(void *);
typedef int nni_signal; // Wakeup channel.
typedef uint64_t nni_time; // Abs. time (usec).