diff options
author | Pixel <pixel@nobis-crew.org> | 2010-06-15 00:18:43 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2010-06-15 00:18:43 -0700 |
commit | 25e85e1b809ec58ecac0f2e8fe48f74836f8e131 (patch) | |
tree | a53caef2257fefdd6610a17427fd14ee656bbc92 /cd/src/svg/base64.h | |
parent | 7c0c85a86aa73c0c495523f994f8412e377a8195 (diff) |
Upgrading to CD 5.3
Diffstat (limited to 'cd/src/svg/base64.h')
-rw-r--r-- | cd/src/svg/base64.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/cd/src/svg/base64.h b/cd/src/svg/base64.h new file mode 100644 index 0000000..87293e9 --- /dev/null +++ b/cd/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_ */ |