]> git.stg.codes - ssmd.git/blobdiff - include/switch.h
Removed GTS string.
[ssmd.git] / include / switch.h
index fc432840514ffffecf177f1982d06c882994142a..bd9965280cc22f54b87ee65213c1af37afc5640c 100644 (file)
@@ -1,13 +1,14 @@
-#ifndef __GTS_SWITCH_H__
-#define __GTS_SWITCH_H__
+#ifndef __SSMD_SWITCH_H__
+#define __SSMD_SWITCH_H__
 
 #include <string>
 #include <vector>
+#include <ostream>
 
 class Snmp;
 class CTarget;
 
-namespace GTS {
+namespace SSMD {
 
 class Settings;
 class Subscriber;
@@ -50,10 +51,12 @@ class Switch {
 
         std::vector<ACL> _acls;
 
+        bool _aclsCreated;
+
         bool checkProfiles(const CTarget & target);
-        bool dropACLs(const CTarget & target);
-        bool dropACLsByTable(const CTarget & target, unsigned profileId, const SNMPTable & table);
-        bool createACLs(const CTarget & target);
+        bool dropACLs(const CTarget & target, std::ostream & stream);
+        bool dropACLsByTable(const CTarget & target, unsigned profileId, const SNMPTable & table, std::ostream & stream);
+        bool createACLs(const CTarget & target, std::ostream & stream);
 };
 
 }