summaryrefslogtreecommitdiff
path: root/lib/base64.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base64.h')
-rw-r--r--lib/base64.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/base64.h b/lib/base64.h
new file mode 100644
index 00000000..33d5d4db
--- /dev/null
+++ b/lib/base64.h
@@ -0,0 +1,13 @@
+#ifndef _BIRD_BASE64_H_
+#define _BIRD_BASE64_H_
+
+#include "lib/resource.h"
+
+struct adata;
+
+struct adata * base64_encode_bs(linpool *pool, const unsigned char *src, size_t len,
+ size_t *out_len);
+struct adata * base64_decode_bs(linpool *pool, const unsigned char *src, size_t len,
+ size_t *out_len);
+
+#endif /* _BIRD_BASE64_H_ */