diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-09-15 16:00:57 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-09-15 16:00:57 +0000 |
commit | 9ec2088d5a1da0bd6bbfb5d6dea0844ed7806d59 (patch) | |
tree | aac9629d0c353a794f8552dc342bb331b4b007be /charset.h | |
parent | 2c1422e158da7ad24821e1b4396b9dff920ee2bf (diff) |
Add charset alias support and fix various errors in the
character set code.
Diffstat (limited to 'charset.h')
-rw-r--r-- | charset.h | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -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 |