~ubuntu-dev/ubuntu/lucid/mutt/lucid-201002101854

« back to all changes in this revision

Viewing changes to charset.h

Tags: 1.5.18-6
* Grab from upstream:
  + Guard idata->mailbox read in imap_mailbox_state.
    The bug happens when a user has more than a imap mailbox, when
    he/she browses through them mutt will segfault.
    (Closes: #462266, #513230, #514309. Mutt: #3057)

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
void fgetconv_close (FGETCONV **);
48
48
 
49
49
void mutt_set_langinfo_charset (void);
 
50
char *mutt_get_default_charset ();
50
51
 
51
 
#define M_ICONV_HOOK_FROM 1
52
 
#define M_ICONV_HOOK_TO   2
 
52
/* flags for charset.c:mutt_convert_string(), fgetconv_open(), and
 
53
 * mutt_iconv_open(). Note that applying charset-hooks to tocode is
 
54
 * never needed, and sometimes hurts: Hence there is no M_ICONV_HOOK_TO
 
55
 * flag.
 
56
 */
 
57
#define M_ICONV_HOOK_FROM 1     /* apply charset-hooks to fromcode */
53
58
 
54
59
#endif /* _CHARSET_H */