]> git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/SslErrorData.h
Merge from trunk
[thirdparty/squid.git] / src / acl / SslErrorData.h
1
2 /*
3 * $Id$
4 */
5
6 #ifndef SQUID_ACLSSL_ERRORDATA_H
7 #define SQUID_ACLSSL_ERRORDATA_H
8 #include "acl/Acl.h"
9 #include "acl/Data.h"
10 #include "CbDataList.h"
11 #include "ssl/support.h"
12 #include "ssl/ErrorDetail.h"
13 #include <vector>
14
15 class ACLSslErrorData : public ACLData<const Ssl::Errors *>
16 {
17
18 public:
19 MEMPROXY_CLASS(ACLSslErrorData);
20
21 ACLSslErrorData();
22 ACLSslErrorData(ACLSslErrorData const &);
23 ACLSslErrorData &operator= (ACLSslErrorData const &);
24 virtual ~ACLSslErrorData();
25 bool match(const Ssl::Errors *);
26 wordlist *dump();
27 void parse();
28 bool empty() const;
29 virtual ACLSslErrorData *clone() const;
30
31 Ssl::Errors *values;
32 };
33
34 MEMPROXY_CLASS_INLINE(ACLSslErrorData);
35
36 #endif /* SQUID_ACLSSL_ERRORDATA_H */