summaryrefslogtreecommitdiff
path: root/src/nng.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-01-23 22:03:06 -0800
committerGarrett D'Amore <garrett@damore.org>2018-01-23 22:03:06 -0800
commitced5170d6532f427f6750eee274288ceaffe05b5 (patch)
tree477ec98b087a6f9d59460943dedfb5249dcc9aba /src/nng.c
parentb2800c58d63dc1b53557ea9294b323c3b1f90dab (diff)
downloadnng-ced5170d6532f427f6750eee274288ceaffe05b5.tar.gz
nng-ced5170d6532f427f6750eee274288ceaffe05b5.tar.bz2
nng-ced5170d6532f427f6750eee274288ceaffe05b5.zip
fixes #222 Public URL API
Diffstat (limited to 'src/nng.c')
-rw-r--r--src/nng.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/nng.c b/src/nng.c
index 509bb333..addfc06a 100644
--- a/src/nng.c
+++ b/src/nng.c
@@ -1176,3 +1176,21 @@ nng_thread_destroy(void *arg)
NNI_FREE_STRUCT(thr);
}
+
+int
+nng_url_parse(nng_url **result, const char *ustr)
+{
+ return (nni_url_parse(result, ustr));
+}
+
+void
+nng_url_free(nng_url *url)
+{
+ nni_url_free(url);
+}
+
+int
+nng_url_clone(nng_url **dstp, const nng_url *src)
+{
+ return (nni_url_clone(dstp, src));
+} \ No newline at end of file