DomainData.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 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_ACLDOMAINDATA_H
10 #define SQUID_ACLDOMAINDATA_H
11 
12 #include "acl/Acl.h"
13 #include "acl/Data.h"
14 #include "splay.h"
15 
16 class ACLDomainData : public ACLData<char const *>
17 {
19 
20 public:
21  ACLDomainData() : domains(nullptr) {}
22  virtual ~ACLDomainData();
23  virtual bool match(char const *);
24  virtual SBufList dump() const;
25  void parse();
26  bool empty() const;
27  virtual ACLData<char const *> *clone() const;
28 
30 };
31 
32 #endif /* SQUID_ACLDOMAINDATA_H */
33 
virtual SBufList dump() const
Definition: DomainData.cc:128
Configured ACL parameter(s) (e.g., domain names in dstdomain ACL).
Definition: Data.h:17
MEMPROXY_CLASS(ACLDomainData)
virtual ACLData< char const * > * clone() const
Definition: DomainData.cc:154
virtual bool match(char const *)
Definition: DomainData.cc:105
bool empty() const
Definition: DomainData.cc:148
std::list< SBuf > SBufList
Definition: forward.h:26
virtual ~ACLDomainData()
Definition: DomainData.cc:27
Splay< char * > * domains
Definition: DomainData.h:29

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors