initial load of upstream version 1.06.32
[xmlrpc-c] / include / xmlrpc-c / client_simple.hpp
1 #ifndef CLIENT_SIMPLE_HPP_INCLUDED
2 #define CLIENT_SIMPLE_HPP_INCLUDED
3
4 #include <string>
5
6 #include <xmlrpc-c/base.hpp>
7 #include <xmlrpc-c/client.hpp>
8
9 namespace xmlrpc_c {
10
11
12 class clientSimple {
13
14 public:
15     clientSimple();
16
17     void
18     call(std::string       const serverUrl,
19          std::string       const methodName,
20          xmlrpc_c::value * const resultP);
21
22     void
23     call(std::string       const serverUrl,
24          std::string       const methodName,
25          std::string       const format,
26          xmlrpc_c::value * const resultP,
27          ...);
28
29     void
30     call(std::string         const  serverUrl,
31          std::string         const  methodName,
32          xmlrpc_c::paramList const& paramList,
33          xmlrpc_c::value *   const  resultP);
34
35 private:
36     xmlrpc_c::clientPtr clientP;
37 };
38
39 } // namespace
40 #endif
41
42
43
44