]>
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"
13 // manages adaptation_access configuration by associating an acl with
14 // an adaptation service group
18 AccessRule(const String
&groupId
);
21 void parse(ConfigParser
&parser
);
24 // service group consisting of one or more services
25 ServiceGroupPointer
group();
37 typedef Vector
<Adaptation::AccessRule
*> AccessRules
;
38 AccessRules
&AllRules();
39 AccessRule
*FindRule(const AccessRule::Id
&id
);
40 AccessRule
*FindRuleByGroupId(const String
&groupId
);
42 } // namespace Adaptation
44 #endif /* SQUID_ADAPTATION__ACCESS_RULE_H */