summaryrefslogtreecommitdiffstats
path: root/src/common/base64.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/base64.h')
-rw-r--r--src/common/base64.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/common/base64.h b/src/common/base64.h
new file mode 100644
index 00000000..48a13fe5
--- /dev/null
+++ b/src/common/base64.h
@@ -0,0 +1,9 @@
+#ifndef __BASE64_H__
+#define __BASE64_H__
+
+#include <string>
+
+std::string base64_encode(unsigned char const* , unsigned int len);
+std::string base64_decode(std::string const& s);
+
+#endif /* __BASE64_H__ */