![]() |
User Manual, Developers Guide and API Documentation |
![]() |
00001 /****************************************************************************** 00002 * IPModule Internet Protocol Implementation * 00003 * __________________________________________________________________________ * 00004 * * 00005 * Copyright (C) 2005 * 00006 * Lehrstuhl fuer Kommunikationsnetze (ComNets) * 00007 * Kopernikusstr. 16, D-52074 Aachen, Germany * 00008 * phone: ++49-241-80-27910 (phone), fax: ++49-241-80-22242 * 00009 * email: wns@comnetsrwth-aachen.de, www: http://wns.comnets.rwth-aachen.de/ * 00010 ******************************************************************************/ 00011 00012 #ifndef IP_IPTABLES_IRULECONTROL_HPP 00013 #define IP_IPTABLES_IRULECONTROL_HPP 00014 00015 #include <IP/iptables/Rule.hpp> 00016 00017 #include <list> 00018 00019 namespace ip { 00020 namespace iptables 00021 { 00022 class IRuleControl 00023 { 00024 public: 00025 virtual 00026 ~IRuleControl() {} 00027 00028 virtual void 00029 addRule(ip::iptables::Rule) = 0; 00030 00031 virtual void 00032 removeRules(ip::iptables::Rule::RuleTag) = 0; 00033 00034 virtual bool 00035 hasRules(ip::iptables::Rule::RuleTag) = 0; 00036 }; 00037 00038 00039 }// iptables 00040 }// ip 00041 00042 #endif // IP_IPTABLES_IRULECONTROL_HPP
1.5.5