HierCodeData.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2022 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_ACLHIERCODEDATA_H
10 #define SQUID_ACLHIERCODEDATA_H
11 
12 #include "acl/Acl.h"
13 #include "acl/Data.h"
14 #include "hier_code.h"
15 
16 class ACLHierCodeData : public ACLData<hier_code>
17 {
19 
20 public:
22  virtual ~ACLHierCodeData();
23  bool match(hier_code);
24  virtual SBufList dump() const;
25  void parse();
26  bool empty() const;
27 
30 };
31 
32 #endif /* SQUID_ACLHIERCODEDATA_H */
33 
Configured ACL parameter(s) (e.g., domain names in dstdomain ACL).
Definition: Data.h:18
MEMPROXY_CLASS(ACLHierCodeData)
virtual SBufList dump() const
Definition: HierCodeData.cc:32
bool values[HIER_MAX]
mask of codes this ACL might match.
Definition: HierCodeData.h:29
virtual ~ACLHierCodeData()
Definition: HierCodeData.cc:22
bool empty() const
Definition: HierCodeData.cc:64
bool match(hier_code)
Definition: HierCodeData.cc:26
hier_code
Definition: hier_code.h:12
@ HIER_MAX
Definition: hier_code.h:38
std::list< SBuf > SBufList
Definition: forward.h:22

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors