diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-07-03 10:33:14 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-07-03 10:33:14 -0700 |
| commit | 14c8396d6954622de9e07b010810ee49f0496b2a (patch) | |
| tree | 8b85317cdbe38c7be674b5b9d6197d7b12d96eaa /src/core/transport.h | |
| parent | 14c9712edef594e3701c8851d7c51b109a6da97d (diff) | |
| download | nng-14c8396d6954622de9e07b010810ee49f0496b2a.tar.gz nng-14c8396d6954622de9e07b010810ee49f0496b2a.tar.bz2 nng-14c8396d6954622de9e07b010810ee49f0496b2a.zip | |
Rename legacy connect/accept as _sync for now.
Diffstat (limited to 'src/core/transport.h')
| -rw-r--r-- | src/core/transport.h | 4 |
1 files changed, 2 insertions, 2 deletions
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. |
