]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/acl/forward.h
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / acl / forward.h
index c6dbec2a8af4ea50380e759476d639d841a8cb21..f6ccdd990f638b0a79d2312244014055c34dacb7 100644 (file)
@@ -1,28 +1,42 @@
+/*
+ * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
+
 #ifndef SQUID_ACL_FORWARD_H
 #define SQUID_ACL_FORWARD_H
 
+#include "base/RefCount.h"
+
 class ACL;
 class ACLChecklist;
 class ACLFilledChecklist;
 class ACLList;
 
-class AclAddress;
 class AclDenyInfoList;
 class AclSizeLimit;
 
 namespace Acl
 {
 
+class Address;
+class AndNode;
+class Answer;
+class ChecklistFiller;
 class InnerNode;
 class NotNode;
-class AndNode;
 class OrNode;
 class Tree;
 
+/// prepares to parse ACLs configuration
+void Init(void);
+
 } // namespace Acl
 
-class allow_t;
-typedef void ACLCB(allow_t, void *);
+typedef void ACLCB(Acl::Answer, void *);
 
 #define ACL_NAME_SZ 64
 
@@ -31,4 +45,8 @@ typedef void ACLCB(allow_t, void *);
 #define acl_access Acl::Tree
 #define ACLList Acl::Tree
 
+class ExternalACLEntry;
+typedef RefCount<ExternalACLEntry> ExternalACLEntryPointer;
+
 #endif /* SQUID_ACL_FORWARD_H */
+