]> git.stg.codes - stg.git/blobdiff - stargazer/plugins/other/radius/conn.h
Public interfaces: part 1
[stg.git] / stargazer / plugins / other / radius / conn.h
index 7b633d71dc9112606b5c3df916d772d85ab8e005..0f902e9a74c754e68d7b721d2d957e2e41cb5505 100644 (file)
  *    Author : Maxim Mamontov <faust@stargazer.dp.ua>
  */
 
-#ifndef __STG_SGCONFIG_CONN_H__
-#define __STG_SGCONFIG_CONN_H__
+#pragma once
 
 #include <string>
 #include <memory>
 
-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