]> 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 eb344d9fe1d3ef171597dfb5dd99d1f5f3d68b3e..85a7fb7f5260b19e87730c91742d0a05e981e803 100644 (file)
--- a/src/iri.h
+++ b/src/iri.h
@@ -34,11 +34,13 @@ as that of the covered work.  */
 
 char *parse_charset (char *str);
 char *find_locale (void);
+bool check_encoding_name (char *encoding);
 
 #else /* ENABLE_IRI */
 
-#define parse_charset(str)     NULL
-#define find_locale()          NULL
+#define parse_charset(str)             NULL
+#define find_locale()                  NULL
+#define check_encoding_name(str)       false
 
 #endif /* ENABLE_IRI */
 #endif /* IRI_H */