summaryrefslogtreecommitdiffstats
path: root/charset.h
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-09-15 16:00:57 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-09-15 16:00:57 +0000
commit9ec2088d5a1da0bd6bbfb5d6dea0844ed7806d59 (patch)
treeaac9629d0c353a794f8552dc342bb331b4b007be /charset.h
parent2c1422e158da7ad24821e1b4396b9dff920ee2bf (diff)
Add charset alias support and fix various errors in the
character set code.
Diffstat (limited to 'charset.h')
-rw-r--r--charset.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/charset.h b/charset.h
index 88d53913..aa29f78b 100644
--- a/charset.h
+++ b/charset.h
@@ -23,18 +23,17 @@
#ifndef _GEN_CHARSETS
-typedef int UNICODE_MAP[256];
+typedef int CHARSET_MAP[256];
typedef struct
{
- char *name;
- UNICODE_MAP *map;
+ CHARSET_MAP *map;
} CHARSET;
-
-CHARSET *mutt_get_charset(const char *);
-UNICODE_MAP *mutt_get_translation(const char *, const char *);
-int mutt_display_char(int, UNICODE_MAP *);
-int mutt_display_string(char *, UNICODE_MAP *);
+
+CHARSET *mutt_get_charset(const char *);
+CHARSET_MAP *mutt_get_translation(const char *, const char *);
+unsigned char mutt_display_char(unsigned char, CHARSET_MAP *);
+int mutt_display_string(char *, CHARSET_MAP *);
#endif