From c1a92ee76a3e9e70ecae4646763bade0c16e4807 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 3 Jul 2017 12:44:02 -0700 Subject: inproc transport uses aio for connect/accept. --- src/core/transport.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/transport.h') diff --git a/src/core/transport.h b/src/core/transport.h index 5a057c93..05f2e7f7 100644 --- a/src/core/transport.h +++ b/src/core/transport.h @@ -52,6 +52,7 @@ struct nni_tran_ep { // transport specific endpoint, and the second is a pointer to // receive a newly created transport-specific pipe structure. int (*ep_connect_sync)(void *, void **); + void (*ep_connect)(void *, nni_aio *); // ep_bind just does the bind() and listen() work, // reserving the address but not creating any connections. @@ -64,6 +65,7 @@ struct nni_tran_ep { // is the transport-specific endpoint, and the second is a pointer to // a transport-specific pipe, created by this function. int (*ep_accept_sync)(void *, void **); + void (*ep_accept)(void *, nni_aio *); // ep_close stops the endpoint from operating altogether. It does // not affect pipes that have already been created. -- cgit v1.2.3-70-g09d2