From 94c88335f9de5090846504dfa5fc1656092efacf Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 7 Sep 2024 16:45:17 -0700 Subject: Introduce nni_url_to_address for common URL to sockaddr support. This will be used in UDP. It also lets us reduce some unnecessary code paths for redundant library initialization. --- src/core/url.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/url.h') diff --git a/src/core/url.h b/src/core/url.h index e846bf37..1761f6fd 100644 --- a/src/core/url.h +++ b/src/core/url.h @@ -20,5 +20,6 @@ extern const char *nni_url_default_port(const char *); extern int nni_url_asprintf(char **, const nni_url *); extern int nni_url_asprintf_port(char **, const nni_url *, int); extern size_t nni_url_decode(uint8_t *, const char *, size_t); +extern int nni_url_to_address(nng_sockaddr *, const nni_url *); #endif // CORE_URL_H -- cgit v1.2.3-70-g09d2