+#include "stg/common.h"
#include "admins_methods.h"
-
#include "rpcconfig.h"
-#include "common.h"
//------------------------------------------------------------------------------
#include <xmlrpc-c/base.hpp>
#include <xmlrpc-c/registry.hpp>
-#include "admins.h"
-#include "admin.h"
+#include "stg/admins.h"
+#include "stg/admin.h"
class RPC_CONFIG;
#include <sys/utsname.h>
+#include "stg/version.h"
+#include "stg/common.h"
#include "info_methods.h"
-#include "version.h"
#include "rpcconfig.h"
-#include "common.h"
void METHOD_INFO::execute(xmlrpc_c::paramList const & paramList,
xmlrpc_c::value * const retvalPtr)
#include <xmlrpc-c/base.hpp>
#include <xmlrpc-c/registry.hpp>
-#include "users.h"
-#include "tariffs.h"
+#include "stg/users.h"
+#include "stg/tariffs.h"
// Forward declaration
class RPC_CONFIG;
+#include "stg/stg_message.h"
+#include "stg/common.h"
+#include "utils.h"
#include "messages_methods.h"
-
#include "rpcconfig.h"
-#include "stg_message.h"
-#include "utils.h"
-#include "common.h"
extern const volatile time_t stgTime;
#include <xmlrpc-c/base.hpp>
#include <xmlrpc-c/registry.hpp>
-#include "users.h"
+#include "stg/users.h"
class RPC_CONFIG;
#include <vector>
#include <algorithm>
-#include "rpcconfig.h"
-
-#include "common.h"
-#include "admin.h"
-#include "module_settings.h"
-#include "settings.h"
+#include "stg/common.h"
+#include "stg/admin.h"
+#include "stg/module_settings.h"
+#include "stg/settings.h"
+#include "rpcconfig.h"
#include "info_methods.h"
#include "users_methods.h"
#include "tariffs_methods.h"
#include <xmlrpc-c/registry.hpp>
#include <xmlrpc-c/server_abyss.hpp>
-#include "os_int.h"
-#include "plugin.h"
-#include "admin_conf.h"
-#include "module_settings.h"
+#include "stg/os_int.h"
+#include "stg/plugin.h"
+#include "stg/admin_conf.h"
+#include "stg/module_settings.h"
#define RPC_CONFIG_VERSION "Stargazer RPC v. 0.2"
#define __TARIFF_HELPER_H__
#include <xmlrpc-c/base.hpp>
-#include "tariff_conf.h"
+#include "stg/tariff_conf.h"
class TARIFF_HELPER
{
-#include "rpcconfig.h"
#include "tariffs_methods.h"
+#include "rpcconfig.h"
#include "tariff_helper.h"
-#include "tariffs.h"
-#include "users.h"
-#include "admins.h"
-#include "admin.h"
+#include "stg/tariffs.h"
+#include "stg/users.h"
+#include "stg/admins.h"
+#include "stg/admin.h"
void METHOD_TARIFF_GET::execute(xmlrpc_c::paramList const & paramList,
xmlrpc_c::value * const retvalPtr)
+#include "stg/tariffs.h"
+#include "stg/admin.h"
+#include "stg/store.h"
+#include "stg/user_ips.h"
+#include "stg/common.h"
+#include "stg/user_property.h"
#include "user_helper.h"
-
-#include "tariffs.h"
-#include "admin.h"
-#include "store.h"
-#include "user_ips.h"
#include "utils.h"
-#include "common.h"
-#include "user_property.h"
//------------------------------------------------------------------------------
#include <xmlrpc-c/base.hpp>
-#include "users.h"
+#include "stg/users.h"
class ADMIN;
class STORE;
#include <cerrno>
-#include "users_methods.h"
-
-#include "users.h"
-#include "admins.h"
-#include "tariffs.h"
+#include "stg/users.h"
+#include "stg/admins.h"
+#include "stg/tariffs.h"
+#include "stg/user_ips.h"
+#include "stg/common.h"
+#include "stg/user_property.h"
+#include "users_methods.h"
#include "rpcconfig.h"
#include "user_helper.h"
-#include "user_ips.h"
#include "utils.h"
-#include "common.h"
-#include "user_property.h"
//------------------------------------------------------------------------------