]> git.stg.codes - ssmd.git/blobdiff - include/switch.h
Implemented script generation.
[ssmd.git] / include / switch.h
index 351d1626a33648f9ff4771dfe665af2a951f52e1..bf585c5a4261f2003b76cf751d5f5854b522e8d7 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <string>
 #include <vector>
+#include <ostream>
 
 class Snmp;
 class CTarget;
@@ -53,9 +54,9 @@ class Switch {
         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);
 };
 
 }