1 #ifndef SQUID_ACLPEERNAME_H
2 #define SQUID_ACLPEERNAME_H
4 #include "acl/Strategy.h"
5 #include "acl/Strategised.h"
7 class ACLPeerNameStrategy
: public ACLStrategy
<const char *>
11 virtual int match (ACLData
<MatchType
> * &, ACLFilledChecklist
*, ACLFlags
&);
12 static ACLPeerNameStrategy
*Instance();
13 /* Not implemented to prevent copies of the instance. */
14 /* Not private to prevent brain dead g+++ warnings about
15 * private constructors with no friends */
16 ACLPeerNameStrategy(ACLPeerNameStrategy
const &);
19 static ACLPeerNameStrategy Instance_
;
20 ACLPeerNameStrategy() {}
22 ACLPeerNameStrategy
&operator=(ACLPeerNameStrategy
const &);
29 static ACL::Prototype RegistryProtoype
;
30 static ACLStrategised
<const char *> RegistryEntry_
;
31 static ACL::Prototype RegexRegistryProtoype
;
32 static ACLStrategised
<char const *> RegexRegistryEntry_
;
35 #endif /* SQUID_ACLPEERNAME_H */