aboutsummaryrefslogtreecommitdiff
path: root/base64.h
diff options
context:
space:
mode:
Diffstat (limited to 'base64.h')
-rw-r--r--base64.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/base64.h b/base64.h
new file mode 100644
index 0000000..e240f8b
--- /dev/null
+++ b/base64.h
@@ -0,0 +1,8 @@
+#ifndef BASE64_H
+#define BASE64_H 1
+
+void base64_cleanup(void);
+char *base64_encode(const unsigned char *data, size_t input_length, size_t *output_length);
+unsigned char *base64_decode(const char *data, size_t input_length, size_t *output_length);
+
+#endif