]> git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/LocalPort.h
b13f4b3a33c08ba10cd149132c74ef3f506c64de
[thirdparty/squid.git] / src / acl / LocalPort.h
1 /*
2 * Copyright (C) 1996-2025 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_LOCALPORT_H
10 #define SQUID_SRC_ACL_LOCALPORT_H
11
12 #include "acl/Data.h"
13 #include "acl/ParameterizedNode.h"
14
15 namespace Acl
16 {
17
18 /// a "localport" ACL
19 class LocalPortCheck: public ParameterizedNode< ACLData<int> >
20 {
21 public:
22 /* Acl::Node API */
23 int match(ACLChecklist *) override;
24 };
25
26 } // namespace Acl
27
28 #endif /* SQUID_SRC_ACL_LOCALPORT_H */
29