X-Git-Url: https://git.stg.codes/ssmd.git/blobdiff_plain/0e2bc51f6930b264ca31bb72a6388e80539a85f6..HEAD:/include/switch.h diff --git a/include/switch.h b/include/switch.h index 351d162..bd99652 100644 --- a/include/switch.h +++ b/include/switch.h @@ -1,13 +1,14 @@ -#ifndef __GTS_SWITCH_H__ -#define __GTS_SWITCH_H__ +#ifndef __SSMD_SWITCH_H__ +#define __SSMD_SWITCH_H__ #include #include +#include class Snmp; class CTarget; -namespace GTS { +namespace SSMD { class Settings; class Subscriber; @@ -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); }; }