From 60c9c1c4054a5dbb3c1cad2068e1a793789618ff Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 29 Dec 2024 18:50:49 -0800 Subject: url: accessor functions missing NNG_DECL tag --- include/nng/nng.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/nng/nng.h b/include/nng/nng.h index 04ef88ba..d7deefd5 100644 --- a/include/nng/nng.h +++ b/include/nng/nng.h @@ -1105,19 +1105,19 @@ NNG_DECL uint32_t nng_url_port(const nng_url *); NNG_DECL void nng_url_resolve_port(nng_url *url, uint32_t port); // hostname part of URL, can be NULL if irerelvant to scheme -const char *nng_url_hostname(const nng_url *); +NNG_DECL const char *nng_url_hostname(const nng_url *); // user info part (thing before '@') of URL, NULL if absent. -const char *nng_url_userinfo(const nng_url *); +NNG_DECL const char *nng_url_userinfo(const nng_url *); // path portion of URL, will always non-NULL, but may be empty. -const char *nng_url_path(const nng_url *); +NNG_DECL const char *nng_url_path(const nng_url *); // query info part of URL, not including '?, NULL if absent' -const char *nng_url_query(const nng_url *); +NNG_DECL const char *nng_url_query(const nng_url *); // fragment part of URL, not including '#', NULL if absent. -const char *nng_url_fragment(const nng_url *); +NNG_DECL const char *nng_url_fragment(const nng_url *); // nng_version returns the library version as a human readable string. NNG_DECL const char *nng_version(void); -- cgit v1.2.3-70-g09d2