aboutsummaryrefslogtreecommitdiff
path: root/vendor/voclient/include/xmlrpc-c/xml.hpp
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /vendor/voclient/include/xmlrpc-c/xml.hpp
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'vendor/voclient/include/xmlrpc-c/xml.hpp')
-rw-r--r--vendor/voclient/include/xmlrpc-c/xml.hpp36
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