diff options
Diffstat (limited to 'src/core/pipe.h')
| -rw-r--r-- | src/core/pipe.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/pipe.h b/src/core/pipe.h index b78eaa2a..2ce4f1ec 100644 --- a/src/core/pipe.h +++ b/src/core/pipe.h @@ -21,14 +21,13 @@ struct nng_pipe { uint32_t p_id; struct nni_pipe_ops p_ops; - void * p_tran; + void * p_data; nni_list_node p_sock_node; nni_socket * p_sock; nni_list_node p_ep_node; nni_endpt * p_ep; }; - // Pipe operations that protocols use. extern int nni_pipe_recv(nni_pipe *, nng_msg **); extern int nni_pipe_send(nni_pipe *, nng_msg *); @@ -37,7 +36,7 @@ extern void nni_pipe_close(nni_pipe *); // Used only by the socket core - as we don't wish to expose the details // of the pipe structure outside of pipe.c. -extern int nni_pipe_create(nni_pipe **, struct nni_transport *); +extern int nni_pipe_create(nni_pipe **, const nni_pipe_ops *); extern void nni_pipe_destroy(nni_pipe *); |
