aboutsummaryrefslogtreecommitdiff
path: root/base64.h
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-01-09 01:22:54 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-02-28 01:43:56 +0100
commitd26f046fc9149693a6ebc28301ccc3581c0f144e (patch)
tree9da22edd4840304d6cd19a27efab58ce245985aa /base64.h
downloadslcl-d26f046fc9149693a6ebc28301ccc3581c0f144e.tar.gz
Initial commit
Diffstat (limited to 'base64.h')
-rw-r--r--base64.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/base64.h b/base64.h
new file mode 100644
index 0000000..6ca0f18
--- /dev/null
+++ b/base64.h
@@ -0,0 +1,9 @@
+#ifndef BASE64_H
+#define BASE64_H
+
+#include <stddef.h>
+
+char *base64_encode(const void *buf, size_t n);
+void *base64_decode(const char *b64, size_t *n);
+
+#endif /* BASE64_H */