Squid Web Cache master
Loading...
Searching...
No Matches
HierCodeData.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_HIERCODEDATA_H
10#define SQUID_SRC_ACL_HIERCODEDATA_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_SRC_ACL_HIERCODEDATA_H */
33
Configured ACL parameter(s) (e.g., domain names in dstdomain ACL).
Definition Data.h:18
MEMPROXY_CLASS(ACLHierCodeData)
~ACLHierCodeData() override
bool values[HIER_MAX]
mask of codes this ACL might match.
bool empty() const override
SBufList dump() const override
bool match(hier_code) override
void parse() override
hier_code
Definition hier_code.h:12
@ HIER_MAX
Definition hier_code.h:38
std::list< SBuf > SBufList
Definition forward.h:23