summaryrefslogtreecommitdiffstats
path: root/include/base64.h
blob: 0df510281df41ed97b6036787b9cc535ff2a5fba (plain)
1
2
3
4
5
6
7
8
9
#ifndef __BASE64_H
#define __BASE64_H

void uuencode(char *p, const char *src, int length);
int decode_base64(char *dst, int dst_len, const char *src);

#define BASE64_LENGTH(len)	(4 * (((len) + 2) / 3))

#endif /* __BASE64_H */