aboutsummaryrefslogtreecommitdiff
path: root/src/nng.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-01-03 12:46:33 -0800
committerGarrett D'Amore <garrett@damore.org>2025-01-04 09:48:44 -0800
commit57e736b5be2052484eec44889586bd89a2724c71 (patch)
treef579d2863d7d31e202f083ab6d5f5fe85651e64c /src/nng.c
parentcefc6e1995f7f8e53e16db745eac7a86c2ebffd3 (diff)
downloadnng-57e736b5be2052484eec44889586bd89a2724c71.tar.gz
nng-57e736b5be2052484eec44889586bd89a2724c71.tar.bz2
nng-57e736b5be2052484eec44889586bd89a2724c71.zip
api: rename nng_send_aio and nng_recv_aio to nng_socket_send and nng_socket_recv
This aligns more closely with the nng_ctx functions.
Diffstat (limited to 'src/nng.c')
-rw-r--r--src/nng.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nng.c b/src/nng.c
index 77d16b9e..d51d781c 100644
--- a/src/nng.c
+++ b/src/nng.c
@@ -180,7 +180,7 @@ nng_sendmsg(nng_socket s, nng_msg *msg, int flags)
}
void
-nng_recv_aio(nng_socket s, nng_aio *aio)
+nng_socket_recv(nng_socket s, nng_aio *aio)
{
nni_sock *sock;
int rv;
@@ -195,7 +195,7 @@ nng_recv_aio(nng_socket s, nng_aio *aio)
}
void
-nng_send_aio(nng_socket s, nng_aio *aio)
+nng_socket_send(nng_socket s, nng_aio *aio)
{
nni_sock *sock;
int rv;