SourceDomain.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2023 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_ACLSOURCEDOMAIN_H
10#define SQUID_ACLSOURCEDOMAIN_H
11#include "acl/Acl.h"
12#include "acl/Checklist.h"
13#include "acl/Data.h"
14#include "acl/Strategy.h"
15#include "dns/forward.h"
16
17class ACLSourceDomainStrategy : public ACLStrategy<char const *>
18{
19
20public:
21 int match (ACLData<MatchType> * &, ACLFilledChecklist *) override;
22};
23
25{
26
27public:
29 void checkForAsync(ACLChecklist *)const override;
30
31private:
33 static void LookupDone(const char *, const Dns::LookupDetails &, void *);
34};
35
36#endif /* SQUID_ACLSOURCEDOMAIN_H */
37
int match(ACLData< MatchType > *&, ACLFilledChecklist *) override
Definition: SourceDomain.cc:44
A matching algorithm.
Definition: Strategy.h:22
encapsulates DNS lookup results
Definition: LookupDetails.h:23
static void LookupDone(const char *, const Dns::LookupDetails &, void *)
Definition: SourceDomain.cc:35
void checkForAsync(ACLChecklist *) const override
Definition: SourceDomain.cc:29
static SourceDomainLookup * Instance()
Definition: SourceDomain.cc:23
static SourceDomainLookup instance_
Definition: SourceDomain.h:32

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors