squid-
cache.org
Optimising Web Delivery
Docs
Download
Donate
Support
About
Contact
Shop
Blog
src
hier_code.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__HIER_CODE_H
10
#define SQUID__HIER_CODE_H
11
12
typedef
enum
{
13
HIER_NONE
,
14
HIER_DIRECT
,
15
SIBLING_HIT
,
16
PARENT_HIT
,
17
DEFAULT_PARENT
,
18
SINGLE_PARENT
,
19
FIRSTUP_PARENT
,
20
FIRST_PARENT_MISS
,
21
CLOSEST_PARENT_MISS
,
22
CLOSEST_PARENT
,
23
CLOSEST_DIRECT
,
24
NO_DIRECT_FAIL
,
25
SOURCE_FASTEST
,
26
ROUNDROBIN_PARENT
,
27
#if USE_CACHE_DIGESTS
28
CD_PARENT_HIT
,
29
CD_SIBLING_HIT
,
30
#endif
31
CARP
,
32
ANY_OLD_PARENT
,
33
USERHASH_PARENT
,
34
SOURCEHASH_PARENT
,
35
PINNED
,
36
ORIGINAL_DST
,
37
STANDBY_POOL
,
38
HIER_MAX
39
}
hier_code
;
40
41
extern
const
char
*
hier_code_str
[];
42
43
inline
hier_code
operator++
(
hier_code
&i) {
return
i = (
hier_code
)(1+(
int
)i); }
44
45
#endif
/* SQUID__HIER_CODE_H */
46
hier_code_str
const char * hier_code_str[]
hier_code
hier_code
Definition:
hier_code.h:12
NO_DIRECT_FAIL
@ NO_DIRECT_FAIL
Definition:
hier_code.h:24
CARP
@ CARP
Definition:
hier_code.h:31
SOURCEHASH_PARENT
@ SOURCEHASH_PARENT
Definition:
hier_code.h:34
CD_SIBLING_HIT
@ CD_SIBLING_HIT
Definition:
hier_code.h:29
HIER_MAX
@ HIER_MAX
Definition:
hier_code.h:38
CD_PARENT_HIT
@ CD_PARENT_HIT
Definition:
hier_code.h:28
STANDBY_POOL
@ STANDBY_POOL
Definition:
hier_code.h:37
HIER_NONE
@ HIER_NONE
Definition:
hier_code.h:13
PARENT_HIT
@ PARENT_HIT
Definition:
hier_code.h:16
CLOSEST_PARENT
@ CLOSEST_PARENT
Definition:
hier_code.h:22
SIBLING_HIT
@ SIBLING_HIT
Definition:
hier_code.h:15
DEFAULT_PARENT
@ DEFAULT_PARENT
Definition:
hier_code.h:17
CLOSEST_DIRECT
@ CLOSEST_DIRECT
Definition:
hier_code.h:23
SOURCE_FASTEST
@ SOURCE_FASTEST
Definition:
hier_code.h:25
USERHASH_PARENT
@ USERHASH_PARENT
Definition:
hier_code.h:33
PINNED
@ PINNED
Definition:
hier_code.h:35
FIRST_PARENT_MISS
@ FIRST_PARENT_MISS
Definition:
hier_code.h:20
ROUNDROBIN_PARENT
@ ROUNDROBIN_PARENT
Definition:
hier_code.h:26
FIRSTUP_PARENT
@ FIRSTUP_PARENT
Definition:
hier_code.h:19
SINGLE_PARENT
@ SINGLE_PARENT
Definition:
hier_code.h:18
CLOSEST_PARENT_MISS
@ CLOSEST_PARENT_MISS
Definition:
hier_code.h:21
ANY_OLD_PARENT
@ ANY_OLD_PARENT
Definition:
hier_code.h:32
ORIGINAL_DST
@ ORIGINAL_DST
Definition:
hier_code.h:36
HIER_DIRECT
@ HIER_DIRECT
Definition:
hier_code.h:14
operator++
hier_code operator++(hier_code &i)
Definition:
hier_code.h:43
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