diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-06-30 13:33:22 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-06-30 13:33:22 -0700 |
| commit | 1a2efa40eeeb140982e11932019dd165fe6fcdd5 (patch) | |
| tree | 1d4f88099f2c3baae08cc4ddcba5b12fc28e8b06 /src/platform/posix/posix_aio.h | |
| parent | 69c309ec479900f9389aacba18d8c1d3026ece46 (diff) | |
| download | nng-1a2efa40eeeb140982e11932019dd165fe6fcdd5.tar.gz nng-1a2efa40eeeb140982e11932019dd165fe6fcdd5.tar.bz2 nng-1a2efa40eeeb140982e11932019dd165fe6fcdd5.zip | |
More progress on POSIX async connect stuff.
Note that we're going to refactor this again, for both TCP and
IPC, to actually push the endpoint abstraction further down
instead of using a combined "socket" abstraction. This may help
solve other problems, such as parallel outgoing connections.
Nonetheless, most of the work to make POSIX sockets fully async
is now done.
Diffstat (limited to 'src/platform/posix/posix_aio.h')
| -rw-r--r-- | src/platform/posix/posix_aio.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/platform/posix/posix_aio.h b/src/platform/posix/posix_aio.h index 26ef19b9..3bb59b95 100644 --- a/src/platform/posix/posix_aio.h +++ b/src/platform/posix/posix_aio.h @@ -30,4 +30,10 @@ extern void nni_posix_pipedesc_read(nni_posix_pipedesc *, nni_aio *); extern void nni_posix_pipedesc_write(nni_posix_pipedesc *, nni_aio *); extern void nni_posix_pipedesc_close(nni_posix_pipedesc *); +extern int nni_posix_epdesc_init(nni_posix_epdesc **, int); +extern void nni_posix_epdesc_fini(nni_posix_epdesc *); +extern void nni_posix_epdesc_close(nni_posix_epdesc *); +extern void nni_posix_epdesc_connect(nni_posix_epdesc *, nni_aio *); +extern void nni_posix_epdesc_accept(nni_posix_epdesc *, nni_aio *); + #endif // PLATFORM_POSIX_AIO_H |
