aboutsummaryrefslogtreecommitdiff
path: root/src/core/url.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-04-27 22:02:04 -0700
committerGarrett D'Amore <garrett@damore.org>2025-04-27 22:02:04 -0700
commit03f812ccb2876aacd10e589f996b5ec9e0133d5b (patch)
tree8393333b23528c3641a39ed81e44188ddfbe507a /src/core/url.h
parentc5b07415cc3a6a7960cb3ca2a2aaf70b1cbe3469 (diff)
downloadnng-03f812ccb2876aacd10e589f996b5ec9e0133d5b.tar.gz
nng-03f812ccb2876aacd10e589f996b5ec9e0133d5b.tar.bz2
nng-03f812ccb2876aacd10e589f996b5ec9e0133d5b.zip
More nng_err -- this time for dialer and listener allocations.
Diffstat (limited to 'src/core/url.h')
-rw-r--r--src/core/url.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/url.h b/src/core/url.h
index c74749c6..4f387c5d 100644
--- a/src/core/url.h
+++ b/src/core/url.h
@@ -28,13 +28,13 @@ struct nng_url {
};
extern uint16_t nni_url_default_port(const char *);
-extern int nni_url_asprintf(char **, const nng_url *);
-extern int nni_url_asprintf_port(char **, const nng_url *, int);
+extern nng_err nni_url_asprintf(char **, const nng_url *);
+extern nng_err nni_url_asprintf_port(char **, const nng_url *, int);
extern size_t nni_url_decode(uint8_t *, const char *, size_t);
-extern int nni_url_to_address(nng_sockaddr *, const nng_url *);
-extern int nni_url_parse_inline(nng_url *, const char *);
-extern int nni_url_clone_inline(nng_url *, const nng_url *);
+extern nng_err nni_url_to_address(nng_sockaddr *, const nng_url *);
+extern nng_err nni_url_parse_inline(nng_url *, const char *);
+extern nng_err nni_url_clone_inline(nng_url *, const nng_url *);
extern void nni_url_fini(nng_url *);
-extern int nni_url_canonify_uri(char *);
+extern nng_err nni_url_canonify_uri(char *);
#endif // CORE_URL_H