]> git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/AtStepData.h
SourceLayout: shuffle CbDataList to libbase
[thirdparty/squid.git] / src / acl / AtStepData.h
1 /*
2 * Copyright (C) 1996-2014 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 "base/CbDataList.h"
17 #include "ssl/support.h"
18
19 #include <list>
20
21 class ACLAtStepData : public ACLData<Ssl::BumpStep>
22 {
23 MEMPROXY_CLASS(ACLAtStepData);
24
25 public:
26 ACLAtStepData();
27 ACLAtStepData(ACLAtStepData const &);
28 ACLAtStepData &operator= (ACLAtStepData const &);
29 virtual ~ACLAtStepData();
30 bool match(Ssl::BumpStep);
31 virtual SBufList dump() const;
32 void parse();
33 bool empty() const;
34 virtual ACLAtStepData *clone() const;
35
36 std::list<Ssl::BumpStep> values;
37 };
38
39 #endif /* USE_OPENSSL */
40
41 #endif /* SQUID_ACLSSL_ERRORDATA_H */