From e79687a3d9a1631613de02d8e12bae36302b46ab Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Fri, 12 Jan 2007 12:58:25 +0000 Subject: eliminated mimetic dependency and made use of openssl base64 encoder instead --- (limited to 'include') 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 @@ -3,11 +3,13 @@ #include #include +#include #include #include namespace opkele { using std::string; + using std::vector; namespace util { @@ -52,6 +54,9 @@ namespace opkele { string long_to_string(long l); long string_to_long(const string& s); + + string encode_base64(const void *data,size_t length); + void decode_base64(const string& data,vector& rv); } } -- cgit v0.9.0.2