X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/e483fbc3e51aca90ff4abc5347862173366c40ef..611c8051a2ae58a1c306675c8250865e12563834:/stargazer/plugins/other/radius/conn.h diff --git a/stargazer/plugins/other/radius/conn.h b/stargazer/plugins/other/radius/conn.h index 7b633d71..0f902e9a 100644 --- a/stargazer/plugins/other/radius/conn.h +++ b/stargazer/plugins/other/radius/conn.h @@ -18,26 +18,25 @@ * Author : Maxim Mamontov */ -#ifndef __STG_SGCONFIG_CONN_H__ -#define __STG_SGCONFIG_CONN_H__ +#pragma once #include #include -class USER; -class USERS; -class PLUGIN_LOGGER; class RADIUS; namespace STG { +struct Users; +class PluginLogger; + struct Config; class Conn { public: - Conn(USERS& users, PLUGIN_LOGGER& logger, RADIUS& plugin, const Config& config, int fd, const std::string& remote); + Conn(Users& users, PluginLogger& logger, RADIUS& plugin, const Config& config, int fd, const std::string& remote); ~Conn(); int sock() const; @@ -53,5 +52,3 @@ class Conn }; } - -#endif