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);
35 METHOD_INFO(const METHOD_INFO & rvalue);
36 METHOD_INFO & operator=(const METHOD_INFO & rvalue);
41 const std::vector<std::string> & dirNames;
44 class METHOD_LOGIN : public xmlrpc_c::method
47 METHOD_LOGIN(RPC_CONFIG * c)
52 void execute(xmlrpc_c::paramList const & paramList,
53 xmlrpc_c::value * const retvalP);
56 METHOD_LOGIN(const METHOD_LOGIN & rvalue);
57 METHOD_LOGIN & operator=(const METHOD_LOGIN & rvalue);
62 class METHOD_LOGOUT : public xmlrpc_c::method
65 METHOD_LOGOUT(RPC_CONFIG * c)
70 void execute(xmlrpc_c::paramList const & paramList,
71 xmlrpc_c::value * const retvalP);
74 METHOD_LOGOUT(const METHOD_LOGOUT & rvalue);
75 METHOD_LOGOUT & operator=(const METHOD_LOGOUT & rvalue);