aboutsummaryrefslogtreecommitdiff
path: root/src/core/sockimpl.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-11-18 18:49:01 -0800
committerGarrett D'Amore <garrett@damore.org>2024-11-18 18:49:01 -0800
commitdd4695f9492b4f30978e9043d7d6925bfe15a715 (patch)
tree84569362574fabe4b984a82e3232e1b75397bb8f /src/core/sockimpl.h
parentca6cfe359fa55a5a7f4b6ae73500ffd98e6ee968 (diff)
downloadnng-dd4695f9492b4f30978e9043d7d6925bfe15a715.tar.gz
nng-dd4695f9492b4f30978e9043d7d6925bfe15a715.tar.bz2
nng-dd4695f9492b4f30978e9043d7d6925bfe15a715.zip
Merge internal and external URL APIs. No need for
the separation of nni_url and nng_url.
Diffstat (limited to 'src/core/sockimpl.h')
-rw-r--r--src/core/sockimpl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/sockimpl.h b/src/core/sockimpl.h
index 0a5114c0..deb226e4 100644
--- a/src/core/sockimpl.h
+++ b/src/core/sockimpl.h
@@ -22,7 +22,7 @@ struct nni_dialer {
uint32_t d_id; // endpoint id
nni_list_node d_node; // per socket list
nni_sock *d_sock;
- nni_url *d_url;
+ nng_url *d_url;
nni_pipe *d_pipe; // active pipe (for re-dialer)
int d_ref;
bool d_closed; // full shutdown
@@ -63,7 +63,7 @@ struct nni_listener {
uint32_t l_id; // endpoint id
nni_list_node l_node; // per socket list
nni_sock *l_sock;
- nni_url *l_url;
+ nng_url *l_url;
int l_ref;
bool l_closed; // full shutdown
nni_atomic_flag l_closing; // close started (shutdown)