aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-12-29 18:50:49 -0800
committerGarrett D'Amore <garrett@damore.org>2024-12-29 18:50:49 -0800
commit60c9c1c4054a5dbb3c1cad2068e1a793789618ff (patch)
tree4685cdc75eb6ddaf250f544484f73a51e8858fb1
parent9b42f5cb39faf83f9f5e0d6c2cf490cc4420901a (diff)
downloadnng-60c9c1c4054a5dbb3c1cad2068e1a793789618ff.tar.gz
nng-60c9c1c4054a5dbb3c1cad2068e1a793789618ff.tar.bz2
nng-60c9c1c4054a5dbb3c1cad2068e1a793789618ff.zip
url: accessor functions missing NNG_DECL tag
-rw-r--r--include/nng/nng.h10
1 files changed, 5 insertions, 5 deletions
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);