diff options
author | Gregory Maxwell <greg@xiph.org> | 2012-06-23 19:21:13 -0700 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2012-06-23 19:21:13 -0700 |
commit | 817ee0d826087d418b5f0bffcdd92429574284e2 (patch) | |
tree | 6918d60b6fe3d56d4142ce1d59fc966320dd97a2 /src/util.h | |
parent | 0ae2ac5431c762dcf44318a688f1a0d5b130ac23 (diff) | |
parent | d789a3f1403fb6709a3ca26ef9ecc75b0b0a68a4 (diff) |
Merge pull request #1174 from sipa/torhs
Tor hidden service support
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h index 21bec68ae0..7b2c678916 100644 --- a/src/util.h +++ b/src/util.h @@ -147,6 +147,10 @@ std::vector<unsigned char> DecodeBase64(const char* p, bool* pfInvalid = NULL); std::string DecodeBase64(const std::string& str); std::string EncodeBase64(const unsigned char* pch, size_t len); std::string EncodeBase64(const std::string& str); +std::vector<unsigned char> DecodeBase32(const char* p, bool* pfInvalid = NULL); +std::string DecodeBase32(const std::string& str); +std::string EncodeBase32(const unsigned char* pch, size_t len); +std::string EncodeBase32(const std::string& str); void ParseParameters(int argc, const char*const argv[]); bool WildcardMatch(const char* psz, const char* mask); bool WildcardMatch(const std::string& str, const std::string& mask); |