X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/58d030a0db2b320459ce55d5a7b7b440d873d1d1..refs/heads/master:/projects/stargazer/plugins/other/radius/radius.h?ds=inline diff --git a/projects/stargazer/plugins/other/radius/radius.h b/projects/stargazer/plugins/other/radius/radius.h index 8eedace1..6b742de5 100644 --- a/projects/stargazer/plugins/other/radius/radius.h +++ b/projects/stargazer/plugins/other/radius/radius.h @@ -5,8 +5,11 @@ #include "stg/module_settings.h" #include "stg/subscriptions.h" #include "stg/logger.h" +#include "server.h" +#include <boost/asio.hpp> #include <string> +#include <memory> #include <mutex> #include <jthread.hpp> #include <cstdint> //uint8_t, uint32_t @@ -61,6 +64,7 @@ namespace STG private: std::mutex m_mutex; + boost::asio::io_service m_ioService; int Run(std::stop_token token); mutable std::string m_errorStr; @@ -72,5 +76,7 @@ namespace STG std::jthread m_thread; PluginLogger m_logger; + + std::unique_ptr<Server> m_server; }; }