]> git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/forward.h
Maintenance: automate header guards 2/3 (#1655)
[thirdparty/squid.git] / src / acl / forward.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_FORWARD_H
10 #define SQUID_SRC_ACL_FORWARD_H
11
12 #include "base/RefCount.h"
13
14 class ACLChecklist;
15 class ACLFilledChecklist;
16 class ACLList;
17
18 class AclDenyInfoList;
19 class AclSizeLimit;
20
21 namespace Acl
22 {
23
24 class Node;
25 class Address;
26 class AndNode;
27 class Answer;
28 class ChecklistFiller;
29 class InnerNode;
30 class NotNode;
31 class OrNode;
32 class Tree;
33
34 /// prepares to parse ACLs configuration
35 void Init(void);
36
37 } // namespace Acl
38
39 typedef void ACLCB(Acl::Answer, void *);
40
41 #define ACL_NAME_SZ 64
42
43 // TODO: Consider renaming all users and removing. Cons: hides the difference
44 // between ACLList tree without actions and acl_access Tree with actions.
45 #define acl_access Acl::Tree
46 #define ACLList Acl::Tree
47
48 class ExternalACLEntry;
49 typedef RefCount<ExternalACLEntry> ExternalACLEntryPointer;
50
51 #endif /* SQUID_SRC_ACL_FORWARD_H */
52