-#include "rpcconfig.h"
-
#include <cstdlib>
#include <csignal>
+
+#include "rpcconfig.h"
+
+#include "../../../admin.h"
+#include "../../../admins.h"
+#include "../../../users.h"
+#include "../../../tariffs.h"
+#include "../../../traffcounter.h"
+#include "../../../settings.h"
+#include "base_store.h"
+#include "base_settings.h"
+
#include "info_methods.h"
#include "users_methods.h"
#include "tariffs_methods.h"
xmlrpc_c::methodPtr const methodChgUserPtr(new METHOD_USER_CHG(
this,
admins,
+ tariffs,
store,
users
));
#include "os_int.h"
#include "base_plugin.h"
-#include "base_store.h"
-#include "base_settings.h"
#include "admin_conf.h"
-#include "../../../admin.h"
-#include "../../../admins.h"
-#include "../../../users.h"
-#include "../../../tariffs.h"
-#include "../../../traffcounter.h"
-#include "../../../settings.h"
#define RPC_CONFIG_VERSION "Stargazer RPC v. 0.2"
extern "C" BASE_PLUGIN * GetPlugin();
+class ADMINS;
+class TARIFFS;
+class USERS;
+class BASE_STORE;
+
class RPC_CONFIG_SETTINGS
{
public:
#include "rpcconfig.h"
#include "tariffs_methods.h"
#include "tariff_helper.h"
+#include "../../../tariffs.h"
+#include "../../../users.h"
+#include "../../../admins.h"
+#include "../../../admin.h"
void METHOD_TARIFF_GET::execute(xmlrpc_c::paramList const & paramList,
xmlrpc_c::value * const retvalPtr)
#include <xmlrpc-c/base.hpp>
#include <xmlrpc-c/registry.hpp>
-#include "../../../tariffs.h"
-
class RPC_CONFIG;
+class TARIFFS;
+class USERS;
+class ADMINS;
class METHOD_TARIFF_GET : public xmlrpc_c::method {
public: