1 #ifndef SQUID_ACLSSL_ERROR_H
2 #define SQUID_ACLSSL_ERROR_H
3 #include "acl/Strategised.h"
4 #include "acl/Strategy.h"
5 #include "ssl/support.h"
7 class ACLSslErrorStrategy
: public ACLStrategy
<const Ssl::CertErrors
*>
11 virtual int match (ACLData
<MatchType
> * &, ACLFilledChecklist
*, ACLFlags
&);
12 static ACLSslErrorStrategy
*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 ACLSslErrorStrategy(ACLSslErrorStrategy
const &);
19 static ACLSslErrorStrategy Instance_
;
20 ACLSslErrorStrategy() {}
22 ACLSslErrorStrategy
&operator=(ACLSslErrorStrategy
const &);
29 static ACL::Prototype RegistryProtoype
;
30 static ACLStrategised
<const Ssl::CertErrors
*> RegistryEntry_
;
33 #endif /* SQUID_ACLSSL_ERROR_H */