]> git.ipfire.org Git - thirdparty/squid.git/blame - src/acl/SslError.h
Boilerplate: update copyright blurbs on Squid helpers
[thirdparty/squid.git] / src / acl / SslError.h
CommitLineData
1b26be8f 1#ifndef SQUID_ACLSSL_ERROR_H
2#define SQUID_ACLSSL_ERROR_H
127dce76 3#include "acl/Strategised.h"
602d9612 4#include "acl/Strategy.h"
fb2178bb 5#include "ssl/support.h"
1b26be8f 6
62a7607e 7class ACLSslErrorStrategy : public ACLStrategy<const Ssl::CertErrors *>
1b26be8f 8{
9
10public:
33810b1d 11 virtual int match (ACLData<MatchType> * &, ACLFilledChecklist *, ACLFlags &);
1b26be8f 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 &);
17
18private:
19 static ACLSslErrorStrategy Instance_;
26ac0430 20 ACLSslErrorStrategy() {}
1b26be8f 21
22 ACLSslErrorStrategy&operator=(ACLSslErrorStrategy const &);
23};
24
25class ACLSslError
26{
27
28private:
29 static ACL::Prototype RegistryProtoype;
62a7607e 30 static ACLStrategised<const Ssl::CertErrors *> RegistryEntry_;
1b26be8f 31};
32
33#endif /* SQUID_ACLSSL_ERROR_H */