mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 21:30:11 +01:00
20 lines
497 B
C
20 lines
497 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);
|
|
void decodeURL(char *p);
|
|
inline void utf8_encode_char(unsigned char c, unsigned char *buf, int buflen, int *len);
|
|
void utf8_encode(unsigned char *p);
|
|
|
|
#endif /* _DECODER_H */
|