diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-04-27 22:02:04 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-04-27 22:02:04 -0700 |
| commit | 03f812ccb2876aacd10e589f996b5ec9e0133d5b (patch) | |
| tree | 8393333b23528c3641a39ed81e44188ddfbe507a /include | |
| parent | c5b07415cc3a6a7960cb3ca2a2aaf70b1cbe3469 (diff) | |
| download | nng-03f812ccb2876aacd10e589f996b5ec9e0133d5b.tar.gz nng-03f812ccb2876aacd10e589f996b5ec9e0133d5b.tar.bz2 nng-03f812ccb2876aacd10e589f996b5ec9e0133d5b.zip | |
More nng_err -- this time for dialer and listener allocations.
Diffstat (limited to 'include')
| -rw-r--r-- | include/nng/nng.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/nng/nng.h b/include/nng/nng.h index 21d7f290..07fe082c 100644 --- a/include/nng/nng.h +++ b/include/nng/nng.h @@ -1061,13 +1061,13 @@ NNG_DECL void nng_device_aio(nng_aio *, nng_socket, nng_socket); // port if one isn't specified and a default port is appropriate for // the scheme. The URL structure is allocated, along with individual // members. It can be freed with nng_url_free. -NNG_DECL int nng_url_parse(nng_url **, const char *); +NNG_DECL nng_err nng_url_parse(nng_url **, const char *); // nng_url_free frees a URL structure that was created by nng_url_parse(). NNG_DECL void nng_url_free(nng_url *); // nng_url_clone clones a URL structure. -NNG_DECL int nng_url_clone(nng_url **, const nng_url *); +NNG_DECL nng_err nng_url_clone(nng_url **, const nng_url *); // nng_url_sprintf prints a URL to a string using semantics similar to // snprintf. |
