1 #ifndef __TARIFFS_METHODS_H__
2 #define __TARIFFS_METHODS_H__
4 #include <xmlrpc-c/base.hpp>
5 #include <xmlrpc-c/registry.hpp>
7 #include "../../../tariffs.h"
11 class METHOD_TARIFF_GET : public xmlrpc_c::method {
13 METHOD_TARIFF_GET(RPC_CONFIG * c,
20 void execute(xmlrpc_c::paramList const & paramList,
21 xmlrpc_c::value * const retvalPtr);
27 class METHOD_TARIFF_CHG : public xmlrpc_c::method {
29 METHOD_TARIFF_CHG(RPC_CONFIG * c,
38 void execute(xmlrpc_c::paramList const & paramList,
39 xmlrpc_c::value * const retvalPtr);
46 class METHOD_TARIFFS_GET : public xmlrpc_c::method {
48 METHOD_TARIFFS_GET(RPC_CONFIG * c,
55 void execute(xmlrpc_c::paramList const & paramList,
56 xmlrpc_c::value * const retvalPtr);
62 class METHOD_TARIFF_ADD : public xmlrpc_c::method {
64 METHOD_TARIFF_ADD(RPC_CONFIG * c,
73 void execute(xmlrpc_c::paramList const & paramList,
74 xmlrpc_c::value * const retvalP);
81 class METHOD_TARIFF_DEL : public xmlrpc_c::method {
83 METHOD_TARIFF_DEL(RPC_CONFIG * c,
94 void execute(xmlrpc_c::paramList const & paramList,
95 xmlrpc_c::value * const retvalP);