]>
Commit | Line | Data |
---|---|---|
3841dd46 | 1 | /* |
b8ae064d | 2 | * Copyright (C) 1996-2023 The Squid Software Foundation and contributors |
3841dd46 | 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. | |
3841dd46 | 7 | */ |
8 | ||
ff9d9458 FC |
9 | #ifndef SQUID_SRC_ACL_SOURCEDOMAIN_H |
10 | #define SQUID_SRC_ACL_SOURCEDOMAIN_H | |
8319d478 | 11 | |
a7b75c64 | 12 | #include "acl/Checklist.h" |
602d9612 | 13 | #include "acl/Data.h" |
8319d478 | 14 | #include "acl/ParameterizedNode.h" |
23032e75 | 15 | #include "dns/forward.h" |
5dee515e | 16 | |
8319d478 | 17 | namespace Acl |
5dee515e | 18 | { |
62e76326 | 19 | |
8319d478 AR |
20 | /// a "srcdomain" or "srcdom_regex" ACL |
21 | class SourceDomainCheck: public ParameterizedNode< ACLData<const char *> > | |
22 | { | |
62e76326 | 23 | public: |
922513e5 | 24 | /* Acl::Node API */ |
8319d478 | 25 | int match(ACLChecklist *) override; |
5dee515e | 26 | }; |
3841dd46 | 27 | |
8319d478 AR |
28 | } // namespace Acl |
29 | ||
ff9d9458 | 30 | #endif /* SQUID_SRC_ACL_SOURCEDOMAIN_H */ |
f53969cc | 31 |