fix select_all and copy in multipart messages
[claws.git] / src / base64.h
1 #ifndef __BASE64_H__
2 #define __BASE64_H__
3
4 typedef struct _Base64Decoder Base64Decoder;
5
6 Base64Decoder * base64_decoder_new      (void);
7 void            base64_decoder_free     (Base64Decoder *decoder);
8 int             base64_decoder_decode   (Base64Decoder *decoder,
9                                          const char    *in, 
10                                          char          *out);
11
12 void to64frombits(unsigned char *, const unsigned char *, int);
13 int from64tobits(char *, const char *);
14
15 #endif /* __BASE64_H__ */