summaryrefslogtreecommitdiff
path: root/cd/src/svg/base64.h
diff options
context:
space:
mode:
Diffstat (limited to 'cd/src/svg/base64.h')
-rw-r--r--cd/src/svg/base64.h20
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_ */