piler/src/decoder.h
SJ 338571d299 compile fixes for gcc 5
Change-Id: Ifdf5736620632cb5eabb745b9d3ee1f830478826
Signed-off-by: SJ <sj@acts.hu>
2016-09-13 21:17:51 +02:00

19 lines
471 B
C

/*
* decoder.h, SJ
*/
#ifndef _DECODER_H
#define _DECODER_H
void base64_encode(unsigned char *in, int inlen, char *out, int outlen);
void sanitiseBase64(char *s);
int decodeBase64(char *p);
int decode_base64_to_buffer(char *p, int plen, unsigned char *b, int blen);
void decodeQP(char *p);
void decodeHTML(char *p, int utf8);
void decodeURL(char *p);
int utf8_encode(char *inbuf, int inbuflen, char *outbuf, int outbuflen, char *encoding);
#endif /* _DECODER_H */