]> sjero.net Git - wget/blobdiff - src/iri.h
Basic support of IRIs.
[wget] / src / iri.h
index 2ac7d5e77766f20a058a658f28c34367cad909bd..4488501da40a57e6c8932b8c2b4115bd01e47727 100644 (file)
--- a/src/iri.h
+++ b/src/iri.h
@@ -33,11 +33,18 @@ as that of the covered work.  */
 #ifdef ENABLE_IRI
 
 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 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 */