From 14c8396d6954622de9e07b010810ee49f0496b2a Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 3 Jul 2017 10:33:14 -0700 Subject: Rename legacy connect/accept as _sync for now. --- src/core/transport.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/transport.h') diff --git a/src/core/transport.h b/src/core/transport.h index 383526cb..5a057c93 100644 --- a/src/core/transport.h +++ b/src/core/transport.h @@ -51,7 +51,7 @@ struct nni_tran_ep { // NNG_ETIMEDOUT, and NNG_EPROTO. The first argument is the // transport specific endpoint, and the second is a pointer to // receive a newly created transport-specific pipe structure. - int (*ep_connect)(void *, void **); + int (*ep_connect_sync)(void *, void **); // ep_bind just does the bind() and listen() work, // reserving the address but not creating any connections. @@ -63,7 +63,7 @@ struct nni_tran_ep { // ep_accept accepts an inbound connection. The first argument // is the transport-specific endpoint, and the second is a pointer to // a transport-specific pipe, created by this function. - int (*ep_accept)(void *, void **); + int (*ep_accept_sync)(void *, void **); // ep_close stops the endpoint from operating altogether. It does // not affect pipes that have already been created. -- cgit v1.2.3-70-g09d2