aboutsummaryrefslogtreecommitdiff
path: root/base64.h
diff options
context:
space:
mode:
Diffstat (limited to 'base64.h')
-rw-r--r--base64.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/base64.h b/base64.h
index e7a3613b..d4042512 100644
--- a/base64.h
+++ b/base64.h
@@ -1,3 +1,8 @@
#pragma once
+#include <stdint.h>
+#include <stddef.h>
+
char *base64_decode(const char *s);
+char *base64_encode(const uint8_t *data, size_t size);
+void base64_encode_final(const uint8_t *data, size_t size, char result[4]);