From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- vendor/voclient/include/xmlrpc-c/xml.hpp | 36 ++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 vendor/voclient/include/xmlrpc-c/xml.hpp (limited to 'vendor/voclient/include/xmlrpc-c/xml.hpp') 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 +#include + +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 -- cgit