initial load of upstream version 1.06.32
[xmlrpc-c] / include / xmlrpc-c / base64.hpp
1 #ifndef XMLRPC_BASE64_HPP_INCLUDED
2 #define XMLRPC_BASE64_HPP_INCLUDED
3
4 #include <string>
5 #include <vector>
6
7 namespace xmlrpc_c {
8
9
10 enum newlineCtl {NEWLINE_NO, NEWLINE_YES};
11
12 std::string
13 base64FromBytes(
14     std::vector<unsigned char> const& bytes,
15     xmlrpc_c::newlineCtl       const  newlineCtl = xmlrpc_c::NEWLINE_YES);
16
17
18
19 std::vector<unsigned char>
20 bytesFromBase64(std::string const& base64);
21
22
23 } // namespace
24
25 #endif