summaryrefslogtreecommitdiffstats
path: root/charset.h
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-09-13 15:26:52 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-09-13 15:26:52 +0000
commit2fe89e82d26131cabbe9c9676608d1b72d3c1af0 (patch)
treed77d43b0c2ff8f33f4d512621f78d3c455f1d4a4 /charset.h
parent439510c9447bf27162f7fc02687c155b0103c502 (diff)
This patch adds on-demand loading of character set tables,
changes the default location of $SHAREDIR, and fixes some compilation problems occuring on machines without PGP installed.
Diffstat (limited to 'charset.h')
-rw-r--r--charset.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/charset.h b/charset.h
index b2c6878c..d60dfaf8 100644
--- a/charset.h
+++ b/charset.h
@@ -27,8 +27,15 @@ typedef struct
UNICODE_MAP *map;
} CHARSET;
+#define CHARSET_MAGIC "Mutt Character Set Definition 1.0\n"
+
+#ifndef _GEN_CHARSETS
+
CHARSET *mutt_get_charset(const char *);
-int mutt_display_char(int, CHARSET *, CHARSET *);
-int mutt_display_string(char *, CHARSET *, CHARSET *);
+UNICODE_MAP *mutt_get_translation(const char *, const char *);
+int mutt_display_char(int, UNICODE_MAP *);
+int mutt_display_string(char *, UNICODE_MAP *);
+
+#endif
#endif /* _CHARSET_H */