diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-06-11 11:36:11 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-06-11 11:36:11 -0700 |
| commit | 1762e5ac23754b17a0bb69082549882aeab979ba (patch) | |
| tree | d1a0a11697c7f3b0c88444a74d67fc71d9a5e8d1 /src/core | |
| parent | 69190eb962f6a74be3d693f584320e42a79462d1 (diff) | |
| download | nng-1762e5ac23754b17a0bb69082549882aeab979ba.tar.gz nng-1762e5ac23754b17a0bb69082549882aeab979ba.tar.bz2 nng-1762e5ac23754b17a0bb69082549882aeab979ba.zip | |
fixes #521 ep_stop is not actually used
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/endpt.h | 1 | ||||
| -rw-r--r-- | src/core/transport.h | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/core/endpt.h b/src/core/endpt.h index f08c7bf2..2511c1ff 100644 --- a/src/core/endpt.h +++ b/src/core/endpt.h @@ -21,7 +21,6 @@ extern void nni_ep_rele(nni_ep *); extern uint32_t nni_ep_id(nni_ep *); extern int nni_ep_create_dialer(nni_ep **, nni_sock *, const char *); extern int nni_ep_create_listener(nni_ep **, nni_sock *, const char *); -extern void nni_ep_stop(nni_ep *); extern int nni_ep_shutdown(nni_ep *); extern void nni_ep_close(nni_ep *); extern int nni_ep_dial(nni_ep *, int); diff --git a/src/core/transport.h b/src/core/transport.h index d37fb449..1046901c 100644 --- a/src/core/transport.h +++ b/src/core/transport.h @@ -105,10 +105,6 @@ struct nni_tran_ep_ops { // not affect pipes that have already been created. It is nonblocking. void (*ep_close)(void *); - // ep_stop stops the endpoint, and *waits* for any outstanding - // aio operations to complete. - void (*ep_stop)(void *); - // ep_options is an array of endpoint options. The final element must // have a NULL name. If this member is NULL, then no transport specific // options are available. |
