diff options
Diffstat (limited to 'vendor/voclient/include/xmlrpc-c/xml.hpp')
-rw-r--r-- | vendor/voclient/include/xmlrpc-c/xml.hpp | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/vendor/voclient/include/xmlrpc-c/xml.hpp b/vendor/voclient/include/xmlrpc-c/xml.hpp new file mode 100644 index 00000000..a77731f9 --- /dev/null +++ b/vendor/voclient/include/xmlrpc-c/xml.hpp @@ -0,0 +1,36 @@ +#ifndef XML_HPP_INCLUDED +#define XML_HPP_INCLUDED + +#include <string> +#include <xmlrpc-c/base.hpp> + +namespace xmlrpc_c { +namespace xml { + +void +generateCall(std::string const& methodName, + xmlrpc_c::paramList const& paramList, + std::string * const callXmlP); + +void +generateCall(std::string const& methodName, + xmlrpc_c::paramList const& paramList, + xmlrpc_dialect const dialect, + std::string * const callXmlP); + +void +parseSuccessfulResponse(std::string const& responseXml, + xmlrpc_c::value * const resultP); + +void +parseResponse(std::string const& responseXml, + xmlrpc_c::rpcOutcome * const outcomeP); + + +void +trace(std::string const& label, + std::string const& xml); + + +}} // namespace +#endif |