enums.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2018 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_ENUMS_H
10 #define SQUID_ENUMS_H
11 
12 enum fd_type {
20 };
21 
22 enum {
25 };
26 
27 typedef enum {
32 } peer_t;
33 
34 typedef enum _mem_status_t {
37 } mem_status_t;
38 
39 typedef enum {
44 
45 typedef enum {
49 
51 typedef enum {
62 
63 typedef enum {
68 
69 /*
70  * These are for StoreEntry->flag, which is defined as a SHORT
71  *
72  * NOTE: These flags are written to swap.state, so think very carefully
73  * about deleting or re-assigning!
74  */
75 enum {
78 
95 
108 };
109 
110 /*
111  * These are for client Streams. Each node in the stream can be queried for
112  * its status
113  */
114 typedef enum {
115  STREAM_NONE, /* No particular status */
116  STREAM_COMPLETE, /* All data has been flushed, no more reads allowed */
117  /* an unpredicted end has occurred, no more
118  * reads occurred, but no need to tell
119  * downstream that an error occurred
120  */
122  /* An error has occurred in this node or an above one,
123  * and the node is not generating an error body / it's
124  * midstream
125  */
128 
129 /* stateful helper callback response codes */
130 typedef enum {
135 
136 #if SQUID_SNMP
137 enum {
141 };
142 #endif /* SQUID_SNMP */
143 
144 enum {
150 };
151 
152 enum {
161 };
162 
163 enum {
166 };
167 
168 /*
169  * These are field indicators for raw cache-cache netdb transfers
170  */
171 enum {
176 };
177 
178 /*
179  * Return codes from checkVary(request)
180  */
181 enum {
186 };
187 
188 /*
189  * Store digest state enum
190  */
191 typedef enum {
199 
200 /* CygWin & Windows NT Port */
201 #if _SQUID_WINDOWS_
202 /*
203  * Supported Windows OS types codes
204  */
205 enum {
206  _WIN_OS_UNKNOWN,
207  _WIN_OS_WIN32S,
208  _WIN_OS_WIN95,
209  _WIN_OS_WIN98,
210  _WIN_OS_WINME,
211  _WIN_OS_WINNT,
212  _WIN_OS_WIN2K,
213  _WIN_OS_WINXP,
214  _WIN_OS_WINNET,
215  _WIN_OS_WINLON,
216  _WIN_OS_WIN7
217 };
218 #endif /* _SQUID_WINDOWS_ */
219 
220 enum {
224 };
225 
226 #if USE_HTCP
227 /*
228  * TODO: This should be in htcp.h
229  */
230 typedef enum {
234 #endif /* USE_HTCP */
235 
236 #endif /* SQUID_ENUMS_H */
237 
Definition: enums.h:14
htcp_clr_reason
Definition: enums.h:230
store_status_t
Definition: enums.h:45
Definition: enums.h:24
Definition: enums.h:23
Definition: enums.h:13
stateful_helper_callback_t
Definition: enums.h:130
ping_status_t
Definition: enums.h:39
store_client_t
Definition: enums.h:63
clientStream_status_t
Definition: enums.h:114
digest_read_state_t
Definition: enums.h:191
Definition: enums.h:46
prohibits making the key public
Definition: enums.h:90
Definition: enums.h:17
_mem_status_t
Definition: enums.h:34
swap_status_t
StoreEntry relationship with a disk cache.
Definition: enums.h:51
peer_t
Definition: enums.h:27
Definition: enums.h:15
Definition: enums.h:164
enum _mem_status_t mem_status_t
Definition: enums.h:165
fd_type
Definition: enums.h:12

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors