From 561fc87c4ae15d2349d9169fbd340d649a364ebd Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 4 Jan 2025 18:22:27 -0800 Subject: api: introduce NNG 2.0 compatible nng_dialer_get_url and nng_listener_get_url This is meant to help applications start adopting new interfaces before converting to NNG 2.0 --- src/core/dialer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/dialer.h') diff --git a/src/core/dialer.h b/src/core/dialer.h index 7bc1547d..619a2101 100644 --- a/src/core/dialer.h +++ b/src/core/dialer.h @@ -1,5 +1,5 @@ // -// Copyright 2021 Staysail Systems, Inc. +// Copyright 2025 Staysail Systems, Inc. // Copyright 2018 Capitar IT Group BV // Copyright 2018 Devolutions // @@ -25,6 +25,7 @@ extern int nni_dialer_setopt( nni_dialer *, const char *, const void *, size_t, nni_type); extern int nni_dialer_getopt( nni_dialer *, const char *, void *, size_t *, nni_type); +extern const nng_url *nni_dialer_url(nni_dialer *); extern void nni_dialer_add_stat(nni_dialer *, nni_stat_item *); extern void nni_dialer_bump_error(nni_dialer *, int); -- cgit v1.2.3-70-g09d2