aboutsummaryrefslogtreecommitdiff
path: root/src/core/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/event.h')
-rw-r--r--src/core/event.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/event.h b/src/core/event.h
index 8b160a89..74d6fddb 100644
--- a/src/core/event.h
+++ b/src/core/event.h
@@ -37,5 +37,7 @@ extern int nni_ev_init(nni_event *, int, nni_sock *);
extern void nni_ev_fini(nni_event *);
extern void nni_ev_submit(nni_event *); // call holding sock lock
extern void nni_ev_wait(nni_event *); // call holding sock lock
+extern nni_notify *nni_add_notify(nni_sock *, int, nng_notify_func, void *);
+extern void nni_rem_notify(nni_sock *, nni_notify *);
#endif // CORE_EVENT_H