#include <xmlrpc-c/base.hpp>
#include <xmlrpc-c/registry.hpp>
-#include "../../../admins.h"
-#include "../../../admin.h"
+#include "admins.h"
+#include "admin.h"
class RPC_CONFIG;
#include <xmlrpc-c/base.hpp>
#include <xmlrpc-c/registry.hpp>
-#include "../../../users.h"
-#include "../../../tariffs.h"
-#include "../../../settings.h"
+#include "users.h"
+#include "tariffs.h"
// Forward declaration
class RPC_CONFIG;
+class SETTINGS;
class METHOD_INFO : public xmlrpc_c::method
{
#include <xmlrpc-c/base.hpp>
#include <xmlrpc-c/registry.hpp>
-#include "../../../users.h"
+#include "users.h"
class RPC_CONFIG;
int Reload() { return 0; }
bool IsRunning() { return running && !stopped; }
- const string & GetStrError() const { return errorStr; }
- const string GetVersion() const { return RPC_CONFIG_VERSION; }
+ const std::string & GetStrError() const { return errorStr; }
+ const std::string GetVersion() const { return RPC_CONFIG_VERSION; }
uint16_t GetStartPosition() const { return 220; }
uint16_t GetStopPosition() const { return 220; }
std::string GetCookie() const;
void InitiateRegistry();
- mutable string errorStr;
+ mutable std::string errorStr;
RPC_CONFIG_SETTINGS rpcConfigSettings;
USERS * users;
ADMINS * admins;
#define __TARIFF_HELPER_H__
#include <xmlrpc-c/base.hpp>
-#include "../../../tariff.h"
#include "tariff_conf.h"
class TARIFF_HELPER
#include "rpcconfig.h"
#include "tariffs_methods.h"
#include "tariff_helper.h"
-#include "../../../tariffs.h"
-#include "../../../users.h"
-#include "../../../admins.h"
-#include "../../../admin.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 "users_methods.h"
-#include "../../../users.h"
-#include "../../../admins.h"
-#include "../../../tariffs.h"
+#include "users.h"
+#include "admins.h"
+#include "tariffs.h"
#include "rpcconfig.h"
#include "user_helper.h"