]> git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/DomainData.h
Maintenance: automate header guards 2/3 (#1655)
[thirdparty/squid.git] / src / acl / DomainData.h
1 /*
2 * Copyright (C) 1996-2023 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_SRC_ACL_DOMAINDATA_H
10 #define SQUID_SRC_ACL_DOMAINDATA_H
11
12 #include "acl/Acl.h"
13 #include "acl/Data.h"
14 #include "splay.h"
15
16 class ACLDomainData : public ACLData<char const *>
17 {
18 MEMPROXY_CLASS(ACLDomainData);
19
20 public:
21 ACLDomainData() : domains(nullptr) {}
22 ~ACLDomainData() override;
23 bool match(char const *) override;
24 SBufList dump() const override;
25 void parse() override;
26 bool empty() const override;
27
28 Splay<char *> *domains;
29 };
30
31 #endif /* SQUID_SRC_ACL_DOMAINDATA_H */
32