/* * 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_INTRANGE_H #define SQUID_SRC_ACL_INTRANGE_H #include "acl/Data.h" #include "base/Range.h" #include class ACLIntRange : public ACLData { public: ACLIntRange() {} ~ACLIntRange() override; bool match(int) override; SBufList dump() const override; void parse() override; bool empty() const override; private: typedef Range RangeType; std::list ranges; }; #endif /* SQUID_SRC_ACL_INTRANGE_H */