diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-02-01 16:48:20 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-02-01 20:07:09 -0800 |
| commit | 5e5f814d63d4e00365b0ae726bc18831aa28e88f (patch) | |
| tree | 804a930d4f9f941cd75e156f169a52e7110ef1e9 /src/nng.c | |
| parent | 3dae30ed5e543dc73fc993334ef56b9b157b9b3c (diff) | |
| download | nng-5e5f814d63d4e00365b0ae726bc18831aa28e88f.tar.gz nng-5e5f814d63d4e00365b0ae726bc18831aa28e88f.tar.bz2 nng-5e5f814d63d4e00365b0ae726bc18831aa28e88f.zip | |
fixes #174 Define public HTTP client API
Diffstat (limited to 'src/nng.c')
| -rw-r--r-- | src/nng.c | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -1100,6 +1100,27 @@ nng_aio_set_input(nng_aio *aio, unsigned index, void *arg) nni_aio_set_input(aio, index, arg); return (0); } +int +nng_aio_set_output(nng_aio *aio, unsigned index, void *arg) +{ + if (index > 3) { + return (NNG_EINVAL); + } + nni_aio_set_output(aio, index, arg); + return (0); +} + +void * +nng_aio_get_input(nng_aio *aio, unsigned index) +{ + return (nni_aio_get_input(aio, index)); +} + +void * +nng_aio_get_output(nng_aio *aio, unsigned index) +{ + return (nni_aio_get_output(aio, index)); +} #if 0 int |
