From 4771d04fb589c406ff8b2fc1b4edf93b2df42515 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Tue, 6 Jun 2017 09:10:07 -0700 Subject: Endpoint now holds a reference on the socket. --- src/core/socket.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/core/socket.h') diff --git a/src/core/socket.h b/src/core/socket.h index 5fc3d593..247513a0 100644 --- a/src/core/socket.h +++ b/src/core/socket.h @@ -85,6 +85,9 @@ extern void nni_sock_unlock(nni_sock *); extern nni_notify *nni_sock_notify(nni_sock *, int, nng_notify_func, void *); extern void nni_sock_unnotify(nni_sock *, nni_notify *); +extern int nni_sock_add_ep(nni_sock *, nni_ep *); +extern void nni_sock_rem_ep(nni_sock *, nni_ep *); + // nni_sock_pipe_add is called by the pipe to register the pipe with // with the socket. The pipe is added to the idle list. The protocol // private pipe data is initialized as well. -- cgit v1.2.3-70-g09d2