diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-11-17 15:27:02 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-11-17 15:29:41 -0800 |
| commit | ef82d4792bf59b1fe8053d9bb5ac924b443d8a78 (patch) | |
| tree | db865bea3afc153b27ccef35335919d98723507f /include | |
| parent | 9ea51a5bd5828648c68dbfbc43b2edcde65e5262 (diff) | |
| download | nng-ef82d4792bf59b1fe8053d9bb5ac924b443d8a78.tar.gz nng-ef82d4792bf59b1fe8053d9bb5ac924b443d8a78.tar.bz2 nng-ef82d4792bf59b1fe8053d9bb5ac924b443d8a78.zip | |
intern URL scheme
Diffstat (limited to 'include')
| -rw-r--r-- | include/nng/nng.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/nng/nng.h b/include/nng/nng.h index a6f5dc9a..a41deeb4 100644 --- a/include/nng/nng.h +++ b/include/nng/nng.h @@ -1083,16 +1083,16 @@ enum nng_errno_enum { // give us a convenient way of doing so. typedef struct nng_url { - char *u_rawurl; // never NULL - char *u_scheme; // never NULL - char *u_userinfo; // will be NULL if not specified - char *u_host; // including colon and port - char *u_hostname; // name only, will be "" if not specified - char *u_port; // port, will be "" if not specified - char *u_path; // path, will be "" if not specified - char *u_query; // without '?', will be NULL if not specified - char *u_fragment; // without '#', will be NULL if not specified - char *u_requri; // includes query and fragment, "" if not specified + char *u_rawurl; // never NULL + const char *u_scheme; // never NULL + char *u_userinfo; // will be NULL if not specified + char *u_host; // including colon and port + char *u_hostname; // name only, will be "" if not specified + char *u_port; // port, will be "" if not specified + char *u_path; // path, will be "" if not specified + char *u_query; // without '?', will be NULL if not specified + char *u_fragment; // without '#', will be NULL if not specified + char *u_requri; // includes query and fragment, "" if not specified } nng_url; // nng_url_parse parses a URL string into a structured form. |
