diff options
author | Adam <Adam@anope.org> | 2011-04-25 03:16:57 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-05-16 04:07:56 -0400 |
commit | 076ebafa1b4cc935c466c615b94eaac415af9a67 (patch) | |
tree | dbc8b0f9e7b6f954569c13ad35598f5ebe8a081d /src/base64.cpp | |
parent | 6922bd239c778e8f6f2081476ce20b9426c515ad (diff) |
Moved some global functions to be member functions and misc cleanup
Diffstat (limited to 'src/base64.cpp')
-rw-r--r-- | src/base64.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base64.cpp b/src/base64.cpp index f4d3de134..cade55e4a 100644 --- a/src/base64.cpp +++ b/src/base64.cpp @@ -77,7 +77,7 @@ static const char Pad64 = '='; characters followed by one "=" padding character. */ -void b64_encode(const Anope::string &src, Anope::string &target) +void Anope::B64Encode(const Anope::string &src, Anope::string &target) { size_t src_pos = 0, src_len = src.length(); unsigned char input[3]; @@ -118,7 +118,7 @@ void b64_encode(const Anope::string &src, Anope::string &target) src from base - 64 numbers into three 8 bit bytes in the target area. */ -void b64_decode(const Anope::string &src, Anope::string &target) +void Anope::B64Decode(const Anope::string &src, Anope::string &target) { target.clear(); |