]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/acl/AllOf.h
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / acl / AllOf.h
index 75c6c200bf0ff477239664837509995870826d32..155c6f0419ca80db70bf5a09833b7ee0a2b8ecf6 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * Copyright (C) 1996-2021 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_ALL_OF_H
 #define SQUID_ACL_ALL_OF_H
 
 namespace Acl
 {
 
-/// Configurable all-of ACL. Each ACL line is a conjuction of ACLs.
+/// Configurable all-of ACL. Each ACL line is a conjunction of ACLs.
 /// Uses AndNode and OrNode to handle squid.conf configuration where multiple
 /// acl all-of lines are always ORed together.
 class AllOf: public Acl::InnerNode
 {
-public:
     MEMPROXY_CLASS(AllOf);
 
+public:
     /* ACL API */
     virtual char const *typeString() const;
     virtual ACL *clone() const;
@@ -23,12 +31,9 @@ public:
 private:
     /* Acl::InnerNode API */
     virtual int doMatch(ACLChecklist *checklist, Nodes::const_iterator start) const;
-
-    static Prototype RegistryProtoype;
-    static AllOf RegistryEntry_;
 };
-MEMPROXY_CLASS_INLINE(Acl::AllOf);
 
 } // namespace Acl
 
 #endif /* SQUID_ACL_ALL_OF_H */
+