]> sjero.net Git - wget/blobdiff - src/iri.h
Introduce a new function check_encoding_name() for doing a basic check on encoding...
[wget] / src / iri.h
index d135e8688e4d716f526b0e10c0686890edac1284..85a7fb7f5260b19e87730c91742d0a05e981e803 100644 (file)
--- a/src/iri.h
+++ b/src/iri.h
@@ -33,11 +33,14 @@ as that of the covered work.  */
 #ifdef ENABLE_IRI
 
 char *parse_charset (char *str);
-
+char *find_locale (void);
+bool check_encoding_name (char *encoding);
 
 #else /* ENABLE_IRI */
 
-#define parse_charset(str)     /* no-op */
+#define parse_charset(str)             NULL
+#define find_locale()                  NULL
+#define check_encoding_name(str)       false
 
 #endif /* ENABLE_IRI */
 #endif /* IRI_H */