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_SRC_HIER_CODE_H
10 #define SQUID_SRC_HIER_CODE_H
11 
12 typedef enum {
27 #if USE_CACHE_DIGESTS
30 #endif
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_SRC_HIER_CODE_H */
46 
@ ANY_OLD_PARENT
Definition: hier_code.h:32
@ CLOSEST_PARENT_MISS
Definition: hier_code.h:21
@ FIRSTUP_PARENT
Definition: hier_code.h:19
@ PARENT_HIT
Definition: hier_code.h:16
@ HIER_DIRECT
Definition: hier_code.h:14
@ STANDBY_POOL
Definition: hier_code.h:37
hier_code operator++(hier_code &i)
Definition: hier_code.h:43
@ CLOSEST_PARENT
Definition: hier_code.h:22
@ ORIGINAL_DST
Definition: hier_code.h:36
@ SOURCEHASH_PARENT
Definition: hier_code.h:34
@ SIBLING_HIT
Definition: hier_code.h:15
@ NO_DIRECT_FAIL
Definition: hier_code.h:24
@ HIER_MAX
Definition: hier_code.h:38
@ HIER_NONE
Definition: hier_code.h:13
@ FIRST_PARENT_MISS
Definition: hier_code.h:20
@ USERHASH_PARENT
Definition: hier_code.h:33
@ PINNED
Definition: hier_code.h:35
@ ROUNDROBIN_PARENT
Definition: hier_code.h:26
@ CARP
Definition: hier_code.h:31
const char * hier_code_str[]
hier_code
Definition: hier_code.h:12
@ SINGLE_PARENT
Definition: hier_code.h:18
@ SOURCE_FASTEST
Definition: hier_code.h:25
@ CD_SIBLING_HIT
Definition: hier_code.h:29
@ CLOSEST_DIRECT
Definition: hier_code.h:23
@ CD_PARENT_HIT
Definition: hier_code.h:28
@ DEFAULT_PARENT
Definition: hier_code.h:17

 

Introduction

Documentation

Support

Miscellaneous