From 60231f0600461a9593a8f876518874866df3387a Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 16 Feb 2019 12:40:41 -0800 Subject: 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. --- src/core/url.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/url.h') 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 -- cgit v1.2.3-70-g09d2