HierCodeData.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_ACLHIERCODEDATA_H
10#define SQUID_ACLHIERCODEDATA_H
11
12#include "acl/Acl.h"
13#include "acl/Data.h"
14#include "hier_code.h"
15
16class ACLHierCodeData : public ACLData<hier_code>
17{
19
20public:
22 ~ACLHierCodeData() override;
23 bool match(hier_code) override;
24 SBufList dump() const override;
25 void parse() override;
26 bool empty() const override;
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)
~ACLHierCodeData() override
Definition: HierCodeData.cc:22
bool values[HIER_MAX]
mask of codes this ACL might match.
Definition: HierCodeData.h:29
bool empty() const override
Definition: HierCodeData.cc:64
SBufList dump() const override
Definition: HierCodeData.cc:32
bool match(hier_code) override
Definition: HierCodeData.cc:26
void parse() override
Definition: HierCodeData.cc:45
hier_code
Definition: hier_code.h:12
@ HIER_MAX
Definition: hier_code.h:38
std::list< SBuf > SBufList
Definition: forward.h:23

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors