Move src to src/lib, include to src/include, test to src/test.
[deb_shairplay.git] / src / lib / base64.h
CommitLineData
2340bcd3
JVH
1#ifndef BASE64_H
2#define BASE64_H
3
4typedef struct base64_s base64_t;
5
6base64_t *base64_init(const char *charlist, int use_padding, int skip_spaces);
7
8int base64_encoded_length(base64_t *base64, int srclen);
9
10int base64_encode(base64_t *base64, char *dst, const unsigned char *src, int srclen);
11int base64_decode(base64_t *base64, unsigned char **dst, const char *src, int srclen);
12
13void base64_destroy(base64_t *base64);
14
15#endif