aboutsummaryrefslogtreecommitdiff
path: root/src/nng.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2023-12-30 19:35:24 -0800
committerGarrett D'Amore <garrett@damore.org>2023-12-30 19:38:01 -0800
commit838c9eab97c9d954354db711faae8a1fa6c12d38 (patch)
tree8cf3a21772402dfac8cdd4339254ce8b9fcf601b /src/nng.c
parent9b26b72907539910dba42d7396747d18cc020435 (diff)
downloadnng-838c9eab97c9d954354db711faae8a1fa6c12d38.tar.gz
nng-838c9eab97c9d954354db711faae8a1fa6c12d38.tar.bz2
nng-838c9eab97c9d954354db711faae8a1fa6c12d38.zip
fixes #1751 Support nng_aio_set_expire().
While here fixed a number of nits in comments.
Diffstat (limited to 'src/nng.c')
-rw-r--r--src/nng.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nng.c b/src/nng.c
index 79259568..ce75d832 100644
--- a/src/nng.c
+++ b/src/nng.c
@@ -1919,6 +1919,12 @@ nng_aio_set_timeout(nng_aio *aio, nni_duration when)
nni_aio_set_timeout(aio, when);
}
+void
+nng_aio_set_expire(nng_aio *aio, nng_time when)
+{
+ nni_aio_set_expire(aio, when);
+}
+
int
nng_aio_set_iov(nng_aio *aio, unsigned niov, const nng_iov *iov)
{