diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-07-16 13:25:58 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-07-16 13:25:58 -0700 |
| commit | 396d8a243df89680b850626193e0b23567b02585 (patch) | |
| tree | 9960dd986ce569031142a90dacc1c3986a3e3578 /src/core/socket.h | |
| parent | fd037da0609df87b755e379eef93ed11ab14f55f (diff) | |
| download | nng-396d8a243df89680b850626193e0b23567b02585.tar.gz nng-396d8a243df89680b850626193e0b23567b02585.tar.bz2 nng-396d8a243df89680b850626193e0b23567b02585.zip | |
Bind the pipe to the ep properly, and wake any closers needed.
Diffstat (limited to 'src/core/socket.h')
| -rw-r--r-- | src/core/socket.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/socket.h b/src/core/socket.h index 6516de7e..d4c053c8 100644 --- a/src/core/socket.h +++ b/src/core/socket.h @@ -87,11 +87,11 @@ extern void nni_sock_unnotify(nni_sock *, nni_notify *); extern void nni_sock_ep_remove(nni_sock *, nni_ep *); -// nni_sock_pipe_init adds the pipe to the socket. It is called by +// nni_sock_pipe_add adds the pipe to the socket. It is called by // the generic pipe creation code. -extern int nni_sock_pipe_init(nni_sock *, nni_pipe *); +extern int nni_sock_pipe_add(nni_sock *, nni_pipe *); -extern void nni_sock_pipe_stop(nni_sock *, nni_pipe *); +extern void nni_sock_pipe_remove(nni_sock *, nni_pipe *); // nni_sock_pipe_ready lets the socket know the pipe is ready for // business. This also calls the socket/protocol specific add function, |
