aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-07-02 16:02:37 -0700
committerGarrett D'Amore <garrett@damore.org>2017-07-02 16:02:37 -0700
commitac1cdf1a4a2bff6d2ad469735d6825881f5045d9 (patch)
treef7da80b51ad15a33786dbf85d6733b7a300956d6 /src/core
parent9f5fa865f252f6d71f2d92181b17c038e2c28a8a (diff)
downloadnng-ac1cdf1a4a2bff6d2ad469735d6825881f5045d9.tar.gz
nng-ac1cdf1a4a2bff6d2ad469735d6825881f5045d9.tar.bz2
nng-ac1cdf1a4a2bff6d2ad469735d6825881f5045d9.zip
More aio name cleanups.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/pipe.c4
-rw-r--r--src/core/transport.h4
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.