]> git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/AtStepData.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / acl / AtStepData.h
1 /*
2 * Copyright (C) 1996-2019 The Squid Software Foundation and contributors
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
9 #ifndef SQUID_ACLATSTEPDATA_H
10 #define SQUID_ACLATSTEPDATA_H
11
12 #if USE_OPENSSL
13
14 #include "acl/Acl.h"
15 #include "acl/Data.h"
16 #include "ssl/support.h"
17
18 #include <list>
19
20 class ACLAtStepData : public ACLData<Ssl::BumpStep>
21 {
22 MEMPROXY_CLASS(ACLAtStepData);
23
24 public:
25 ACLAtStepData();
26 ACLAtStepData(ACLAtStepData const &);
27 ACLAtStepData &operator= (ACLAtStepData const &);
28 virtual ~ACLAtStepData();
29 bool match(Ssl::BumpStep);
30 virtual SBufList dump() const;
31 void parse();
32 bool empty() const;
33 virtual ACLAtStepData *clone() const;
34
35 std::list<Ssl::BumpStep> values;
36 };
37
38 #endif /* USE_OPENSSL */
39
40 #endif /* SQUID_ACLSSL_ERRORDATA_H */
41