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