1 #ifndef __INFO_METHODS_H__
2 #define __INFO_METHODS_H__
7 #include <xmlrpc-c/base.hpp>
8 #include <xmlrpc-c/registry.hpp>
10 #include "stg/users.h"
11 #include "stg/tariffs.h"
13 // Forward declaration
17 class METHOD_INFO : public xmlrpc_c::method
20 METHOD_INFO(TARIFFS * t,
23 const std::vector<std::string> & dn)
31 void execute(xmlrpc_c::paramList const & paramList,
32 xmlrpc_c::value * const retvalP);
37 const std::vector<std::string> & dirNames;
40 class METHOD_LOGIN : public xmlrpc_c::method
43 METHOD_LOGIN(RPC_CONFIG * c)
48 void execute(xmlrpc_c::paramList const & paramList,
49 xmlrpc_c::value * const retvalP);
54 class METHOD_LOGOUT : public xmlrpc_c::method
57 METHOD_LOGOUT(RPC_CONFIG * c)
62 void execute(xmlrpc_c::paramList const & paramList,
63 xmlrpc_c::value * const retvalP);