squid-
cache.org
Optimising Web Delivery
Docs
Download
Donate
Support
About
Contact
Shop
Blog
src
adaptation
Elements.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_ADAPTATION__ELEMENTS_H
10
#define SQUID_ADAPTATION__ELEMENTS_H
11
12
// widely used adaptation primitives
13
14
namespace
Adaptation
15
{
16
17
typedef
enum
{
methodNone
,
methodReqmod
,
methodRespmod
,
methodOptions
}
Method
;
18
typedef
enum
{
pointNone
,
pointPreCache
,
pointPostCache
}
VectPoint
;
19
typedef
enum
{
srvBlock
,
srvBypass
,
srvWait
,
srvForce
}
SrvBehaviour
;
20
21
extern
const
char
*
crlf
;
22
const
char
*
methodStr
(
Method
);
// TODO: make into a stream operator?
23
const
char
*
vectPointStr
(
VectPoint
);
// TODO: make into a stream op?
24
25
}
// namespace Adaptation
26
27
#endif
/* SQUID_ADAPTATION_ELEMENTS_H */
28
Adaptation
Definition:
AccessCheck.h:25
Adaptation::crlf
const char * crlf
Definition:
Elements.cc:12
Adaptation::Method
Method
Definition:
Elements.h:17
Adaptation::methodOptions
@ methodOptions
Definition:
Elements.h:17
Adaptation::methodRespmod
@ methodRespmod
Definition:
Elements.h:17
Adaptation::methodNone
@ methodNone
Definition:
Elements.h:17
Adaptation::methodReqmod
@ methodReqmod
Definition:
Elements.h:17
Adaptation::vectPointStr
const char * vectPointStr(VectPoint)
Definition:
Elements.cc:39
Adaptation::VectPoint
VectPoint
Definition:
Elements.h:18
Adaptation::pointPreCache
@ pointPreCache
Definition:
Elements.h:18
Adaptation::pointPostCache
@ pointPostCache
Definition:
Elements.h:18
Adaptation::pointNone
@ pointNone
Definition:
Elements.h:18
Adaptation::SrvBehaviour
SrvBehaviour
Definition:
Elements.h:19
Adaptation::srvWait
@ srvWait
Definition:
Elements.h:19
Adaptation::srvBlock
@ srvBlock
Definition:
Elements.h:19
Adaptation::srvForce
@ srvForce
Definition:
Elements.h:19
Adaptation::srvBypass
@ srvBypass
Definition:
Elements.h:19
Adaptation::methodStr
const char * methodStr(Method)
Definition:
Elements.cc:15
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:
gr
il
pl
...
full list
FTP Package Archive