summaryrefslogtreecommitdiffabout
path: root/include/opkele/util.h
Side-by-side diff
Diffstat (limited to 'include/opkele/util.h') (more/less context) (ignore whitespace changes)
-rw-r--r--include/opkele/util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/opkele/util.h b/include/opkele/util.h
index 5372498..80d8b03 100644
--- a/include/opkele/util.h
+++ b/include/opkele/util.h
@@ -5,2 +5,3 @@
#include <string>
+#include <vector>
#include <openssl/bn.h>
@@ -10,2 +11,3 @@ namespace opkele {
using std::string;
+ using std::vector;
@@ -54,2 +56,5 @@ namespace opkele {
long string_to_long(const string& s);
+
+ string encode_base64(const void *data,size_t length);
+ void decode_base64(const string& data,vector<unsigned char>& rv);
}