2001-04-19 14:21:46 +02:00
|
|
|
#ifndef __BASE64_H__
|
|
|
|
#define __BASE64_H__
|
|
|
|
|
2001-06-16 11:43:54 +02:00
|
|
|
typedef struct _Base64Decoder Base64Decoder;
|
|
|
|
|
|
|
|
Base64Decoder * base64_decoder_new (void);
|
|
|
|
void base64_decoder_free (Base64Decoder *decoder);
|
|
|
|
int base64_decoder_decode (Base64Decoder *decoder,
|
|
|
|
const char *in,
|
|
|
|
char *out);
|
|
|
|
|
2001-04-19 14:21:46 +02:00
|
|
|
void to64frombits(unsigned char *, const unsigned char *, int);
|
|
|
|
int from64tobits(char *, const char *);
|
|
|
|
|
|
|
|
#endif /* __BASE64_H__ */
|