diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-11-18 18:49:01 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-11-18 18:49:01 -0800 |
| commit | dd4695f9492b4f30978e9043d7d6925bfe15a715 (patch) | |
| tree | 84569362574fabe4b984a82e3232e1b75397bb8f /src/core/url.h | |
| parent | ca6cfe359fa55a5a7f4b6ae73500ffd98e6ee968 (diff) | |
| download | nng-dd4695f9492b4f30978e9043d7d6925bfe15a715.tar.gz nng-dd4695f9492b4f30978e9043d7d6925bfe15a715.tar.bz2 nng-dd4695f9492b4f30978e9043d7d6925bfe15a715.zip | |
Merge internal and external URL APIs. No need for
the separation of nni_url and nng_url.
Diffstat (limited to 'src/core/url.h')
| -rw-r--r-- | src/core/url.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/core/url.h b/src/core/url.h index f43d3db6..2eb3ed46 100644 --- a/src/core/url.h +++ b/src/core/url.h @@ -13,14 +13,10 @@ #include "core/defs.h" -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 uint16_t nni_url_default_port(const char *); -extern int nni_url_sprintf(char *, size_t, const nni_url *); -extern int nni_url_asprintf(char **, const nni_url *); -extern int nni_url_asprintf_port(char **, const nni_url *, int); +extern int nni_url_asprintf(char **, const nng_url *); +extern int 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 nni_url *); +extern int nni_url_to_address(nng_sockaddr *, const nng_url *); #endif // CORE_URL_H |
