]>
Commit | Line | Data |
---|---|---|
5ec4cffe | 1 | /* |
b8ae064d | 2 | * Copyright (C) 1996-2023 The Squid Software Foundation and contributors |
5ec4cffe EB |
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 | ||
ff9d9458 FC |
9 | #ifndef SQUID_SRC_ACL_HASCOMPONENT_H |
10 | #define SQUID_SRC_ACL_HASCOMPONENT_H | |
5ec4cffe | 11 | |
8319d478 AR |
12 | #include "acl/Data.h" |
13 | #include "acl/ParameterizedNode.h" | |
5ec4cffe | 14 | |
8319d478 AR |
15 | namespace Acl |
16 | { | |
17 | ||
18 | /// a "has" ACL | |
19 | class HasComponentCheck: public ParameterizedNode< ACLData<ACLChecklist *> > | |
5ec4cffe EB |
20 | { |
21 | public: | |
922513e5 | 22 | /* Acl::Node API */ |
8319d478 | 23 | int match(ACLChecklist *) override; |
5ec4cffe EB |
24 | }; |
25 | ||
8319d478 AR |
26 | } // namespace Acl |
27 | ||
ff9d9458 | 28 | #endif /* SQUID_SRC_ACL_HASCOMPONENT_H */ |
5ec4cffe | 29 |