diff options
Diffstat (limited to 'src/core/socket.h')
| -rw-r--r-- | src/core/socket.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/core/socket.h b/src/core/socket.h index 37256571..4b9c4642 100644 --- a/src/core/socket.h +++ b/src/core/socket.h @@ -38,20 +38,6 @@ extern void nni_sock_send(nni_sock *, nni_aio *); extern void nni_sock_recv(nni_sock *, nni_aio *); extern uint32_t nni_sock_id(nni_sock *); -// nni_sock_pipe_add adds the pipe to the socket. It is called by -// the generic pipe creation code. It also adds the socket to the -// ep list, and starts the pipe. It does all these to ensure that -// we have complete success or failure, and there is no point where -// a pipe could wind up orphaned. -extern int nni_sock_pipe_add(nni_sock *, nni_pipe *); -extern void nni_sock_pipe_remove(nni_sock *, nni_pipe *); - -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 // the socket can reenter the protocol. @@ -76,8 +62,6 @@ extern uint32_t nni_sock_flags(nni_sock *); // should be executed. extern void nni_sock_set_pipe_cb(nni_sock *sock, int, nng_pipe_cb, void *); -extern void nni_sock_run_pipe_cb(nni_sock *sock, int, uint32_t); - extern bool nni_sock_closing(nni_sock *sock); // nni_ctx_open is used to open/create a new context structure. |
