summaryrefslogtreecommitdiff
path: root/src/svg/base64.h
blob: 87293e9b12e5de7f192426043972369d611c3e95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/** \file
 * \brief BASE64 encoding
 *
 */

#ifndef __BASE64_H
#define __BASE64_H

#ifdef __cplusplus
extern "C" {
#endif

int base64_encode(unsigned char *source, int sourcelen, char *target, int targetlen);
int base64_decode(char *source, unsigned char *target, int targetlen);

#ifdef __cplusplus
}
#endif

#endif /* ifndef __BASE64_ */