X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/ede91934442fd804d7b818971a44e3ad795cb01f..8141c8c568b83be890c8d8d3953e976ad0ad8ad1:/projects/stargazer/plugins/other/rscript/rscript.h diff --git a/projects/stargazer/plugins/other/rscript/rscript.h b/projects/stargazer/plugins/other/rscript/rscript.h index 7748144e..24d44763 100644 --- a/projects/stargazer/plugins/other/rscript/rscript.h +++ b/projects/stargazer/plugins/other/rscript/rscript.h @@ -37,16 +37,16 @@ #include #include -#include "plugin.h" -#include "store.h" -#include "module_settings.h" -#include "os_int.h" -#include "notifer.h" -#include "user_ips.h" -#include "user.h" -#include "users.h" -#include "blowfish.h" -#include "rs_packets.h" +#include "stg/plugin.h" +#include "stg/store.h" +#include "stg/module_settings.h" +#include "stg/os_int.h" +#include "stg/notifer.h" +#include "stg/user_ips.h" +#include "stg/user.h" +#include "stg/users.h" +#include "stg/blowfish.h" +#include "stg/rs_packets.h" #include "nrmap_parser.h" extern "C" PLUGIN * GetPlugin(); @@ -105,7 +105,7 @@ public: RS_SETTINGS(); virtual ~RS_SETTINGS() {} const std::string & GetStrError() const { return errorStr; } - int ParseSettings(const MODULE_SETTINGS & s) + int ParseSettings(const MODULE_SETTINGS & s); int GetSendPeriod() const { return sendPeriod; } int GetPort() const { return port; } const std::vector & GetSubnetsMap() const { return netRouters; } @@ -114,7 +114,6 @@ public: const std::string & GetMapFileName() const { return subnetFile; } private: - int ParseIntInRange(const std::string & str, int min, int max, int * val); int sendPeriod; uint16_t port; string errorStr;