-#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"
}
RPC_CONFIG::RPC_CONFIG()
- : rpcServer(NULL)
+ : users(NULL),
+ admins(NULL),
+ tariffs(NULL),
+ store(NULL),
+ stgSettings(NULL),
+ rpcServer(NULL),
+ running(false),
+ stopped(true)
{
-
}
RPC_CONFIG::~RPC_CONFIG()
xmlrpc_c::methodPtr const methodChgUserPtr(new METHOD_USER_CHG(
this,
admins,
+ tariffs,
store,
users
));