aboutsummaryrefslogtreecommitdiff
path: root/src/core/url.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2019-02-16 12:40:41 -0800
committerGarrett D'Amore <garrett@damore.org>2019-02-16 19:22:27 -0800
commit60231f0600461a9593a8f876518874866df3387a (patch)
tree1a91f0b65b1ad2d5b995a3db21639f4bf7032066 /src/core/url.h
parent5cf750697624d4fd63cfe26921209d7c30e1a2d2 (diff)
downloadnng-60231f0600461a9593a8f876518874866df3387a.tar.gz
nng-60231f0600461a9593a8f876518874866df3387a.tar.bz2
nng-60231f0600461a9593a8f876518874866df3387a.zip
fixes #879 Desire NNG_OPT_TCP_BOUND_PORT
We also have made some support changes, including new APIs for printing URLs, and some improvements to the NNG_OPT_URL to make use of this new property.
Diffstat (limited to 'src/core/url.h')
-rw-r--r--src/core/url.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/url.h b/src/core/url.h
index 2358f6ba..afb8a882 100644
--- a/src/core/url.h
+++ b/src/core/url.h
@@ -17,5 +17,7 @@ extern int nni_url_parse(nni_url **, const char *path);
extern void nni_url_free(nni_url *);
extern int nni_url_clone(nni_url **, const nni_url *);
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);
#endif // CORE_URL_H