diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-01-02 13:09:30 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-01-02 13:09:30 -0800 |
| commit | f729db021a4fd7c782cc08a07185c955f3567ea2 (patch) | |
| tree | 40f9c63f4e9d6805c60bd551f3fd6bc9d88c3fc9 /src/core/endpt.h | |
| parent | f0ad2ab1123c8c5d4e34790cab7b9bf1e2f615b4 (diff) | |
| download | nng-f729db021a4fd7c782cc08a07185c955f3567ea2.tar.gz nng-f729db021a4fd7c782cc08a07185c955f3567ea2.tar.bz2 nng-f729db021a4fd7c782cc08a07185c955f3567ea2.zip | |
Endpoint renaming.
Diffstat (limited to 'src/core/endpt.h')
| -rw-r--r-- | src/core/endpt.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/endpt.h b/src/core/endpt.h index 92e3450a..a8fce86a 100644 --- a/src/core/endpt.h +++ b/src/core/endpt.h @@ -15,7 +15,7 @@ // NB: This structure is supplied here for use by the CORE. Use of this // OUSIDE of the core is STRICTLY VERBOTEN. NO DIRECT ACCESS BY PROTOCOLS // OR TRANSPORTS. -struct nng_endpt { +struct nng_endpoint { nni_tran_ep ep_ops; nni_tran *ep_tran; void * ep_data; // Transport private @@ -34,10 +34,10 @@ struct nng_endpt { #define NNI_EP_MODE_DIAL 1 #define NNI_EP_MODE_LISTEN 2 -extern int nni_endpt_create(nni_endpt **, nni_sock *, const char *); -extern int nni_endpt_accept(nni_endpt *, nni_pipe **); -extern void nni_endpt_close(nni_endpt *); -extern int nni_endpt_dial(nni_endpt *, int); -extern int nni_endpt_listen(nni_endpt *, int); +extern int nni_ep_create(nni_ep **, nni_sock *, const char *); +extern int nni_ep_accept(nni_ep *, nni_pipe **); +extern void nni_ep_close(nni_ep *); +extern int nni_ep_dial(nni_ep *, int); +extern int nni_ep_listen(nni_ep *, int); #endif // CORE_ENDPT_H |
