aboutsummaryrefslogtreecommitdiff
path: root/src/core/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/socket.h')
-rw-r--r--src/core/socket.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/socket.h b/src/core/socket.h
index 7c10b195..184cfb64 100644
--- a/src/core/socket.h
+++ b/src/core/socket.h
@@ -46,8 +46,11 @@ extern uint32_t nni_sock_id(nni_sock *);
extern int nni_sock_pipe_add(nni_sock *, nni_pipe *);
extern void nni_sock_pipe_remove(nni_sock *, nni_pipe *);
-extern int nni_sock_ep_add(nni_sock *, nni_ep *);
-extern void nni_sock_ep_remove(nni_sock *, nni_ep *);
+extern int nni_sock_add_dialer(nni_sock *, nni_dialer *);
+extern void nni_sock_remove_dialer(nni_sock *, nni_dialer *);
+
+extern int nni_sock_add_listener(nni_sock *, nni_listener *);
+extern void nni_sock_remove_listener(nni_sock *, nni_listener *);
// These are socket methods that protocol operations can expect to call.
// Note that each of these should be called without any locks held, since