#include <xmlrpc-c/base.hpp>
#include <xmlrpc-c/registry.hpp>
-
class RPC_CONFIG;
class ADMINS;
class TARIFFS;
class USERS;
-class BASE_STORE;
-class IP_MASK;
+class STORE;
+struct IP_MASK;
class METHOD_USER_GET : public xmlrpc_c::method {
public:
METHOD_USER_CHG(RPC_CONFIG * c,
ADMINS * a,
TARIFFS * t,
- BASE_STORE * s,
+ STORE * s,
USERS * u)
: config(c),
admins(a),
RPC_CONFIG * config;
ADMINS * admins;
TARIFFS * tariffs;
- BASE_STORE * store;
+ STORE * store;
USERS * users;
};
public:
METHOD_USER_CASH_ADD(RPC_CONFIG * c,
ADMINS * a,
- BASE_STORE * s,
+ STORE * s,
USERS * u)
: config(c),
admins(a),
private:
RPC_CONFIG * config;
ADMINS * admins;
- BASE_STORE * store;
+ STORE * store;
USERS * users;
};
public:
METHOD_USER_CASH_SET(RPC_CONFIG * c,
ADMINS * a,
- BASE_STORE * s,
+ STORE * s,
USERS * u)
: config(c),
admins(a),
private:
RPC_CONFIG * config;
ADMINS * admins;
- BASE_STORE * store;
+ STORE * store;
USERS * users;
};
METHOD_USER_TARIFF_CHANGE(RPC_CONFIG * c,
ADMINS * a,
TARIFFS * t,
- BASE_STORE * s,
+ STORE * s,
USERS * u)
: config(c),
admins(a),
RPC_CONFIG * config;
ADMINS * admins;
TARIFFS * tariffs;
- BASE_STORE * store;
+ STORE * store;
USERS * users;
};