]> git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/AtStepData.h
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / acl / AtStepData.h
1 /*
2 * Copyright (C) 1996-2021 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 #include "acl/Acl.h"
13 #include "acl/Data.h"
14 #include "XactionStep.h"
15 #include <list>
16
17 class ACLAtStepData : public ACLData<XactionStep>
18 {
19 MEMPROXY_CLASS(ACLAtStepData);
20
21 public:
22 ACLAtStepData();
23 ACLAtStepData(ACLAtStepData const &);
24 ACLAtStepData &operator= (ACLAtStepData const &);
25 virtual ~ACLAtStepData();
26 bool match(XactionStep);
27 virtual SBufList dump() const;
28 void parse();
29 bool empty() const;
30 virtual ACLAtStepData *clone() const;
31
32 std::list<XactionStep> values;
33 };
34
35 #endif /* SQUID_ACLSSL_ERRORDATA_H */
36