]> git.ipfire.org Git - thirdparty/squid.git/blame - src/acl/SslErrorData.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / acl / SslErrorData.h
CommitLineData
1b26be8f 1#ifndef SQUID_ACLSSL_ERRORDATA_H
2#define SQUID_ACLSSL_ERRORDATA_H
3ad63615
AR
3#include "acl/Acl.h"
4#include "acl/Data.h"
2236466c 5#include "CbDataList.h"
4d16918e 6#include "ssl/ErrorDetail.h"
602d9612 7#include "ssl/support.h"
fb2178bb 8#include <vector>
1b26be8f 9
62a7607e 10class ACLSslErrorData : public ACLData<const Ssl::CertErrors *>
1b26be8f 11{
12
13public:
14 MEMPROXY_CLASS(ACLSslErrorData);
15
16 ACLSslErrorData();
17 ACLSslErrorData(ACLSslErrorData const &);
18 ACLSslErrorData &operator= (ACLSslErrorData const &);
19 virtual ~ACLSslErrorData();
62a7607e 20 bool match(const Ssl::CertErrors *);
1b26be8f 21 wordlist *dump();
22 void parse();
23 bool empty() const;
fb2178bb 24 virtual ACLSslErrorData *clone() const;
1b26be8f 25
4fb72cb9 26 Ssl::Errors *values;
1b26be8f 27};
28
29MEMPROXY_CLASS_INLINE(ACLSslErrorData);
30
31#endif /* SQUID_ACLSSL_ERRORDATA_H */