X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Firi.h;h=4488501da40a57e6c8932b8c2b4115bd01e47727;hp=85a7fb7f5260b19e87730c91742d0a05e981e803;hb=5bb11da009c2f3bc4381bc8009c57007fd86534e;hpb=e6376b47433be6a0df64b0cd87b2d5c2c53a66f1 diff --git a/src/iri.h b/src/iri.h index 85a7fb7f..4488501d 100644 --- a/src/iri.h +++ b/src/iri.h @@ -35,12 +35,16 @@ as that of the covered work. */ char *parse_charset (char *str); char *find_locale (void); bool check_encoding_name (char *encoding); +const char *locale_to_utf8 (const char *str); +char *idn_encode (char *host); #else /* ENABLE_IRI */ -#define parse_charset(str) NULL -#define find_locale() NULL -#define check_encoding_name(str) false +#define parse_charset(str) NULL +#define find_locale() NULL +#define check_encoding_name(str) false +#define locale_to_utf8(str) (str) +#define idn_encode(str) NULL #endif /* ENABLE_IRI */ #endif /* IRI_H */