File size: 549 Bytes
fd49381
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
#ifndef SYSTEMPROXY_HPP_INCLUDED
#define SYSTEMPROXY_HPP_INCLUDED

#include <xmlrpc-c/base.hpp>
#include <xmlrpc-c/client_simple.hpp>

class systemProxy : public xmlrpc_c::clientSimple {

public:
    systemProxy() {}

    xmlrpc_c::value /*array*/
    listMethods(std::string const& serverUrl);

    xmlrpc_c::value /*array*/
    methodSignature(std::string const& serverUrl,
                    std::string const& methodName);

    std::string
    methodHelp(std::string const& serverUrl,
               std::string const& methodName);
};

#endif