Changeset 173:e3a7b77d1557 for charset.h

Show
Ignore:
Timestamp:
1998-09-15 09:00:57 (10 years ago)
Author:
Thomas Roessler <roessler@…>
Branch:
HEAD
Message:

Add charset alias support and fix various errors in the
character set code.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • charset.h

    r169 r173  
    2424#ifndef _GEN_CHARSETS 
    2525 
    26 typedef int UNICODE_MAP[256]; 
     26typedef int CHARSET_MAP[256]; 
    2727 
    2828typedef struct  
    2929{ 
    30   char *name; 
    31   UNICODE_MAP *map; 
     30  CHARSET_MAP *map; 
    3231} CHARSET; 
    33  
    34 CHARSET *mutt_get_charset(const char *); 
    35 UNICODE_MAP *mutt_get_translation(const char *, const char *); 
    36 int mutt_display_char(int, UNICODE_MAP *); 
    37 int mutt_display_string(char *, UNICODE_MAP *); 
     32   
     33CHARSET     *mutt_get_charset(const char *); 
     34CHARSET_MAP *mutt_get_translation(const char *, const char *); 
     35unsigned char mutt_display_char(unsigned char, CHARSET_MAP *); 
     36int mutt_display_string(char *, CHARSET_MAP *); 
    3837 
    3938#endif