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