Changeset 835:6f4b052f193a for charset.h

Show
Ignore:
Timestamp:
1999-02-03 14:14:08 (10 years ago)
Author:
Thomas Roessler <roessler@…>
Branch:
HEAD
Message:

[unstable] Produce some reasonable character set support when
postponing messages.

Additionally, this patch fixes a nasty pointer leak in
load_charset() [noted with electric fence], and a completely
mis-lead attempt to use bsearch(). Apparently, nobody ever tested
the utf8 decoder for quite some time.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • charset.h

    r827 r835  
    6868DECODER;     
    6969 
     70 
    7071CHARSET *mutt_get_charset(const char *); 
    7172CHARSET_MAP *mutt_get_translation(const char *, const char *); 
    72  
    73 unsigned char mutt_display_char(unsigned char, CHARSET_MAP *); 
    74  
     73DECODER *mutt_open_decoder (STATE *, BODY *, int); 
    7574int mutt_display_string(char *, CHARSET_MAP *); 
    7675int mutt_is_utf8(const char *); 
    77  
     76int mutt_recode_file (const char *, const char *, const char *); 
     77unsigned char mutt_display_char(unsigned char, CHARSET_MAP *); 
     78void mutt_close_decoder (DECODER **); 
    7879void mutt_decode_utf8_string(char *, CHARSET *); 
    79  
    80 DECODER *mutt_open_decoder (STATE *, BODY *, int); 
    81 void mutt_close_decoder (DECODER **); 
    82  
    8380void mutt_decoder_putc (DECODER *, char); 
    8481