squid-
cache.org
Optimising Web Delivery
Docs
Download
Donate
Support
About
Contact
Shop
Blog
src
acl
IntRange.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_ACLINTRANGE_H
10
#define SQUID_ACLINTRANGE_H
11
12
#include "
acl/Data.h
"
13
#include "
base/Range.h
"
14
15
#include <list>
16
17
class
ACLIntRange
:
public
ACLData
<int>
18
{
19
20
public
:
21
ACLIntRange
() {}
22
23
~ACLIntRange
()
override
;
24
bool
match
(
int
)
override
;
25
SBufList
dump
()
const override
;
26
void
parse
()
override
;
27
bool
empty
()
const override
;
28
29
private
:
30
typedef
Range<int>
RangeType
;
31
std::list<RangeType>
ranges
;
32
};
33
34
#endif
/* SQUID_ACLINTRANGE_H */
35
Data.h
Range.h
ACLData
Configured ACL parameter(s) (e.g., domain names in dstdomain ACL).
Definition:
Data.h:18
ACLIntRange
Definition:
IntRange.h:18
ACLIntRange::match
bool match(int) override
Definition:
IntRange.cc:55
ACLIntRange::dump
SBufList dump() const override
Definition:
IntRange.cc:71
ACLIntRange::~ACLIntRange
~ACLIntRange() override
Definition:
IntRange.cc:67
ACLIntRange::ranges
std::list< RangeType > ranges
Definition:
IntRange.h:31
ACLIntRange::parse
void parse() override
Definition:
IntRange.cc:20
ACLIntRange::empty
bool empty() const override
Definition:
IntRange.cc:49
ACLIntRange::RangeType
Range< int > RangeType
Definition:
IntRange.h:30
ACLIntRange::ACLIntRange
ACLIntRange()
Definition:
IntRange.h:21
Range
Definition:
Range.h:19
SBufList
std::list< SBuf > SBufList
Definition:
forward.h:23
Introduction
About Squid
Why Squid?
Squid Developers
How to Donate
How to Help Out
Getting Squid
Squid Source Packages
Squid Deployment Case-Studies
Squid Software Foundation
Documentation
Quick Setup
Configuration:
Reference
Examples
FAQ
and
Wiki
Guide Books:
Beginners
Definitive
Non-English
More...
Support
Security Advisories
Bugzilla Database
Mailing lists
Contacting us
Commercial services
Project Sponsors
Squid-based products
Miscellaneous
Developer Resources
Related Writings
Related Software:
Authenticators
Ecap
Icap
Ident
Log Analysis
Monitor
Proxies
Redirectors
General
Squid Artwork
Web Site Translations
Japanese
Mirrors
Website:
il
...
full list
FTP Package Archive