File: libmime-decoders.h

package info (click to toggle)
p3scan 2%3A2.1-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,568 kB
  • ctags: 2,371
  • sloc: ansic: 12,072; makefile: 253; sh: 234
file content (29 lines) | stat: -rw-r--r-- 846 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

/* Debug levels */
#define MDECODE_DEBUG_PEDANTIC 10
#define MDECODE_DEBUG_NORMAL 1

/* Filename Encoding characters */
#define MDECODE_ISO_ENCODING_Q 'Q'
#define MDECODE_ISO_ENCODING_q 'q'
#define MDECODE_ISO_ENCODING_B 'B'
#define MDECODE_ISO_ENCODING_b 'b'

/* Quoted-Printable decoding modes */
#define MDECODE_QPMODE_STD 0
#define MDECODE_QPMODE_ISO 1


int MDECODE_set_debug( int level );
int MDECODE_set_verbose( int level );
int MDECODE_set_decode_qp( int level );
int MDECODE_set_decode_b64( int level );
int MDECODE_init( void );

int MDECODE_decode_quoted_printable( char *line, int qpmode, char esc_char );
int MDECODE_decode_short64( char *short64 );
int MDECODE_decode_multipart( char *line );
int MDECODE_decode_qp_text( char *line );
int MDECODE_decode_qp_ISO( char *line );
int MDECODE_decode_ISO( char *isostring, int size );