diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-01-29 13:27:52 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-01-29 13:27:52 -0800 |
| commit | 5914e40c2ff7fcf346c90705785f3fb7650a9fdc (patch) | |
| tree | d769f4110a76679df0ffcf2b4e953bb9b9f3687d /src/nng.c | |
| parent | e32022c8085fc6b05ed690f9b4b49536d8df13b1 (diff) | |
| download | nng-5914e40c2ff7fcf346c90705785f3fb7650a9fdc.tar.gz nng-5914e40c2ff7fcf346c90705785f3fb7650a9fdc.tar.bz2 nng-5914e40c2ff7fcf346c90705785f3fb7650a9fdc.zip | |
Expose scatter/gather I/O vectors; we will use for HTTP API.
Diffstat (limited to 'src/nng.c')
| -rw-r--r-- | src/nng.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1082,6 +1082,12 @@ nng_aio_set_timeout(nng_aio *ap, nng_duration dur) nni_aio_set_timeout((nni_aio *) ap, dur); } +int +nng_aio_set_iov(nng_aio *ap, int niov, nng_iov *iov) +{ + return (nni_aio_set_iov((nni_aio *) ap, niov, iov)); +} + #if 0 int nng_snapshot_create(nng_socket sock, nng_snapshot **snapp) |
