]>
Commit | Line | Data |
---|---|---|
5dee515e | 1 | /* |
1f7b830e | 2 | * Copyright (C) 1996-2025 The Squid Software Foundation and contributors |
5dee515e | 3 | * |
bbc27441 AJ |
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. | |
5dee515e | 7 | */ |
8 | ||
ff9d9458 FC |
9 | #ifndef SQUID_SRC_ACL_LOCALPORT_H |
10 | #define SQUID_SRC_ACL_LOCALPORT_H | |
63be0a78 | 11 | |
8319d478 AR |
12 | #include "acl/Data.h" |
13 | #include "acl/ParameterizedNode.h" | |
5dee515e | 14 | |
8319d478 | 15 | namespace Acl |
62e76326 | 16 | { |
17 | ||
8319d478 AR |
18 | /// a "localport" ACL |
19 | class LocalPortCheck: public ParameterizedNode< ACLData<int> > | |
20 | { | |
62e76326 | 21 | public: |
922513e5 | 22 | /* Acl::Node API */ |
8319d478 | 23 | int match(ACLChecklist *) override; |
b0dd28ba | 24 | }; |
5dee515e | 25 | |
8319d478 AR |
26 | } // namespace Acl |
27 | ||
ff9d9458 | 28 | #endif /* SQUID_SRC_ACL_LOCALPORT_H */ |
f53969cc | 29 |