/* * Copyright (C) 1996-2024 The Squid Software Foundation and contributors * * Squid software is distributed under GPLv2+ license and includes * contributions from numerous individuals and organizations. * Please see the COPYING and CONTRIBUTORS files for details. */ #ifndef SQUID_SRC_ACL_HIERCODEDATA_H #define SQUID_SRC_ACL_HIERCODEDATA_H #include "acl/Acl.h" #include "acl/Data.h" #include "hier_code.h" class ACLHierCodeData : public ACLData { MEMPROXY_CLASS(ACLHierCodeData); public: ACLHierCodeData(); ~ACLHierCodeData() override; bool match(hier_code) override; SBufList dump() const override; void parse() override; bool empty() const override; /// mask of codes this ACL might match. bool values[HIER_MAX]; }; #endif /* SQUID_SRC_ACL_HIERCODEDATA_H */