]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/adaptation/AccessRule.h
1 #ifndef SQUID_ADAPTATION__ACCESS_RULE_H
2 #define SQUID_ADAPTATION__ACCESS_RULE_H
4 #include "acl/forward.h"
5 #include "adaptation/forward.h"
6 #include "SquidString.h"
15 // manages adaptation_access configuration by associating an acl with
16 // an adaptation service group
20 AccessRule(const String
&groupId
);
23 void parse(ConfigParser
&parser
);
26 // service group consisting of one or more services
27 ServiceGroupPointer
group();
39 typedef std::vector
<Adaptation::AccessRule
*> AccessRules
;
40 AccessRules
&AllRules();
41 AccessRule
*FindRule(const AccessRule::Id
&id
);
42 AccessRule
*FindRuleByGroupId(const String
&groupId
);
44 } // namespace Adaptation
46 #endif /* SQUID_ADAPTATION__ACCESS_RULE_H */