diff options
| author | Garrett D'Amore <garrett@damore.org> | 2023-12-30 19:35:24 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2023-12-30 19:38:01 -0800 |
| commit | 838c9eab97c9d954354db711faae8a1fa6c12d38 (patch) | |
| tree | 8cf3a21772402dfac8cdd4339254ce8b9fcf601b /src/nng.c | |
| parent | 9b26b72907539910dba42d7396747d18cc020435 (diff) | |
| download | nng-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.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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) { |
