diff options
| author | Garrett D'Amore <garrett@damore.org> | 2016-12-22 17:38:46 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2016-12-22 17:38:46 -0800 |
| commit | 89c847f1f52969ee2ae6ed35018eef40366ca061 (patch) | |
| tree | ba3f3c2da64e4a74c69d315b2198df59bcd4441b /src/core/pipe.h | |
| parent | 934c1316ae47754a2e368c65228c3cbfe552680f (diff) | |
| download | nng-89c847f1f52969ee2ae6ed35018eef40366ca061.tar.gz nng-89c847f1f52969ee2ae6ed35018eef40366ca061.tar.bz2 nng-89c847f1f52969ee2ae6ed35018eef40366ca061.zip | |
Work on endpoints. More C99 & type cleanups.
Diffstat (limited to 'src/core/pipe.h')
| -rw-r--r-- | src/core/pipe.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/pipe.h b/src/core/pipe.h index a4a03a93..b78eaa2a 100644 --- a/src/core/pipe.h +++ b/src/core/pipe.h @@ -22,16 +22,16 @@ struct nng_pipe { uint32_t p_id; struct nni_pipe_ops p_ops; void * p_tran; - nni_list_node_t p_sock_node; + nni_list_node p_sock_node; nni_socket * p_sock; - nni_list_node_t p_ep_node; + nni_list_node p_ep_node; nni_endpt * p_ep; }; // Pipe operations that protocols use. -extern int nni_pipe_recv(nni_pipe *, nng_msg_t *); -extern int nni_pipe_send(nni_pipe *, nng_msg_t); +extern int nni_pipe_recv(nni_pipe *, nng_msg **); +extern int nni_pipe_send(nni_pipe *, nng_msg *); extern uint32_t nni_pipe_id(nni_pipe *); extern void nni_pipe_close(nni_pipe *); |
