diff options
Diffstat (limited to 'src/svg/base64.h')
-rw-r--r-- | src/svg/base64.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/svg/base64.h b/src/svg/base64.h new file mode 100644 index 0000000..87293e9 --- /dev/null +++ b/src/svg/base64.h @@ -0,0 +1,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_ */ |