]>
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 "SquidString.h"
5 #include "adaptation/forward.h"
10 namespace Adaptation
{
12 // manages adaptation_access configuration by associating an acl with
13 // an adaptation service group
19 void parse(ConfigParser
&parser
);
22 // service group consisting of one or more services
23 ServiceGroup
*group();
35 typedef Vector
<Adaptation::AccessRule
*> AccessRules
;
36 extern AccessRules
&AllRules();
37 extern AccessRule
*FindRule(const AccessRule::Id
&id
);
39 } // namespace Adaptation
41 #endif /* SQUID_ADAPTATION__ACCESS_RULE_H */