more sync with sylpheed 0.5.0pre1
[claws.git] / src / unmime.h
1 /* unmime.c */
2
3 #ifdef HAVE_CONFIG_H
4 #  include "config.h"
5 #endif
6
7 typedef char    flag;
8 /* Bit-mask returned by MimeBodyType */
9 #define MSG_IS_7BIT       0x01
10 #define MSG_IS_8BIT       0x02
11 #define MSG_NEEDS_DECODE  0x80
12
13 #if !HAVE_LIBJCONV
14 extern void UnMimeHeader(unsigned char *buf);
15 #else
16 extern void UnMimeHeaderConv(unsigned char *buf, unsigned char *conv_r,
17                              int conv_len);
18 #endif
19 extern int  MimeBodyType(unsigned char *hdrs, int WantDecode);
20 extern int  DoOneQPLine(unsigned char **bufp, flag delimited, flag issoftline);
21 #if 0
22 extern int  UnMimeBodyline(unsigned char **buf, flag delimited, flag issoftline);
23 #endif