]> git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/Address.h
Docs: Copyright updates for 2018 (#114)
[thirdparty/squid.git] / src / acl / Address.h
1 /*
2 * Copyright (C) 1996-2018 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_ADDRESS_H
10 #define _SQUID_SRC_ACL_ADDRESS_H
11
12 #include "acl/Acl.h"
13 #include "ip/Address.h"
14
15 namespace Acl
16 {
17
18 /// list of address-based ACLs.
19 class Address
20 {
21 CBDATA_CLASS(Address);
22
23 public:
24 Address() : next(NULL), aclList(NULL) {}
25 ~Address();
26
27 Acl::Address *next;
28 ACLList *aclList;
29
30 Ip::Address addr;
31 };
32
33 } // namespace Acl
34
35 #endif /* _SQUID_SRC_ACL_ADDRESS_H */
36