more charset improvements.
[apps/madmutt.git] / charset.h
index 702f8f1..b27a5c6 100644 (file)
--- a/charset.h
+++ b/charset.h
 extern char *Charset;
 extern int Charset_is_utf8;
 
+void charset_initialize(void);
+void mutt_canonical_charset(char *, ssize_t, const char *);
+
+int charset_is_utf8(const char *s);
+int charset_is_us_ascii(const char *s);
+
 #ifdef HAVE_ICONV_H
 #  include <iconv.h>
 
@@ -36,12 +42,6 @@ my_iconv(iconv_t ict, const char **in, ssize_t *il, char **out, ssize_t *ol) {
 #  define iconv_close(a)       0
 #endif
 
-void mutt_set_langinfo_charset (void);
-void mutt_canonical_charset(char *, ssize_t, const char *);
-
-int mutt_is_utf8(const char *s);
-int mutt_is_us_ascii(const char *s);
-
 int mutt_convert_string (char **, const char *, const char *, int);
 const char *mutt_get_first_charset (const char *);
 int mutt_convert_nonmime_string (char **);
@@ -57,7 +57,6 @@ int fgetconv (FGETCONV *);
 char *fgetconvs (char *, ssize_t, FGETCONV *);
 void fgetconv_close (FGETCONV **);
 
-void mutt_set_charset(char *charset);
 wchar_t replacement_char(void);
 
 #endif /* _CHARSET_H */