summaryrefslogtreecommitdiffstats
path: root/src/uscxml/util/Base64.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/util/Base64.h')
-rw-r--r--src/uscxml/util/Base64.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/uscxml/util/Base64.h b/src/uscxml/util/Base64.h
new file mode 100644
index 0000000..eaa7cfc
--- /dev/null
+++ b/src/uscxml/util/Base64.h
@@ -0,0 +1,14 @@
+// taken from http://www.adp-gmbh.ch/cpp/common/base64.html
+#ifndef BASE64_H_5FKG12HF
+#define BASE64_H_5FKG12HF
+
+#include <string>
+
+namespace uscxml {
+
+std::string base64_encode(char const* , unsigned int len);
+std::string base64_decode(std::string const& s);
+
+}
+
+#endif /* end of include guard: BASE64_H_5FKG12HF */