Squid Web Cache master
Loading...
Searching...
No Matches
SourceDomain.h
Go to the documentation of this file.
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_SOURCEDOMAIN_H
10#define SQUID_SRC_ACL_SOURCEDOMAIN_H
11
12#include "acl/Checklist.h"
13#include "acl/Data.h"
15#include "dns/forward.h"
16
17namespace Acl
18{
19
21class SourceDomainCheck: public ParameterizedNode< ACLData<const char *> >
22{
23public:
24 /* Acl::Node API */
25 int match(ACLChecklist *) override;
26};
27
28} // namespace Acl
29
30#endif /* SQUID_SRC_ACL_SOURCEDOMAIN_H */
31
a "srcdomain" or "srcdom_regex" ACL
int match(ACLChecklist *) override
Matches the actual data in checklist against this Acl::Node.
Definition Acl.cc:33