diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/pipe.c | 4 | ||||
| -rw-r--r-- | src/core/transport.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/core/pipe.c b/src/core/pipe.c index 32ad2370..7f568457 100644 --- a/src/core/pipe.c +++ b/src/core/pipe.c @@ -92,14 +92,14 @@ nni_pipe_id(nni_pipe *p) void nni_pipe_recv(nni_pipe *p, nni_aio *aio) { - p->p_tran_ops.p_aio_recv(p->p_tran_data, aio); + p->p_tran_ops.p_recv(p->p_tran_data, aio); } void nni_pipe_send(nni_pipe *p, nni_aio *aio) { - p->p_tran_ops.p_aio_send(p->p_tran_data, aio); + p->p_tran_ops.p_send(p->p_tran_data, aio); } diff --git a/src/core/transport.h b/src/core/transport.h index 0ec7310a..383526cb 100644 --- a/src/core/transport.h +++ b/src/core/transport.h @@ -93,12 +93,12 @@ struct nni_tran_pipe { // message, and the caller may not use it again. The transport will // have the responsibility to free the message (nng_msg_free()) when // it is finished with it. - int (*p_aio_send)(void *, nni_aio *); + int (*p_send)(void *, nni_aio *); // p_recv schedules a message receive. This will be performed even for // cases where no data is expected, to allow detection of a remote // disconnect. - int (*p_aio_recv)(void *, nni_aio *); + int (*p_recv)(void *, nni_aio *); // p_close closes the pipe. Further recv or send operations should // return back NNG_ECLOSED. |
