From ac1cdf1a4a2bff6d2ad469735d6825881f5045d9 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 2 Jul 2017 16:02:37 -0700 Subject: More aio name cleanups. --- src/core/pipe.c | 4 ++-- src/core/transport.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core') 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. -- cgit v1.2.3-70-g09d2