mirror of
https://gitlab.com/gnuwget/wget2.git
synced 2026-02-01 14:41:08 +00:00
* include/wget/wget.h: Remove global wget_iri_schemes[], add wget_iri_scheme enum * libwget/iri.c: Add struct iri_scheme, remove wget_iri_schemes and iri_ports, new function wget_iri_scheme_get_name(), fix code * examples/check_url_types.c: Use comparison instead of wget_strcasecmp * fuzz/libwget_iri_fuzzer.c: Use WGET_IRI_SCHEME_HTTPS instead of string * libwget/http.c: Use wget_iri_scheme_get_name() * libwget/http.h: Change scheme from string to wget_iri_scheme * libwget/http_parse.c: Fix wget_http_get_scheme() * src/blacklist.c: Fix hash_iri() * src/host.c: Fix _host_hash() * src/options.c: Use WGET_IRI_SCHEME_* instead of string * src/stats_server.c: Use wget_iri_scheme for scheme member * src/wget.c: Fix code * src/wget_host.h: Use wget_iri_scheme fro scheme member * unit-tests/test.c: Fix tests