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 
111 };
112 
113 /*
114  * These are for client Streams. Each node in the stream can be queried for
115  * its status
116  */
117 typedef enum {
118  STREAM_NONE, /* No particular status */
119  STREAM_COMPLETE, /* All data has been flushed, no more reads allowed */
120  /* an unpredicted end has occurred, no more
121  * reads occurred, but no need to tell
122  * downstream that an error occurred
123  */
125  /* An error has occurred in this node or an above one,
126  * and the node is not generating an error body / it's
127  * midstream
128  */
131 
132 /* stateful helper callback response codes */
133 typedef enum {
138 
139 #if SQUID_SNMP
140 enum {
144 };
145 #endif /* SQUID_SNMP */
146 
147 enum {
153 };
154 
155 enum {
164 };
165 
166 enum {
169 };
170 
171 /*
172  * These are field indicators for raw cache-cache netdb transfers
173  */
174 enum {
179 };
180 
181 /*
182  * Return codes from checkVary(request)
183  */
184 enum {
189 };
190 
191 /*
192  * Store digest state enum
193  */
194 typedef enum {
202 
203 /* CygWin & Windows NT Port */
204 #if _SQUID_WINDOWS_
205 /*
206  * Supported Windows OS types codes
207  */
208 enum {
209  _WIN_OS_UNKNOWN,
210  _WIN_OS_WIN32S,
211  _WIN_OS_WIN95,
212  _WIN_OS_WIN98,
213  _WIN_OS_WINME,
214  _WIN_OS_WINNT,
215  _WIN_OS_WIN2K,
216  _WIN_OS_WINXP,
217  _WIN_OS_WINNET,
218  _WIN_OS_WINLON,
219  _WIN_OS_WIN7
220 };
221 #endif /* _SQUID_WINDOWS_ */
222 
223 enum {
227 };
228 
229 #if USE_HTCP
230 /*
231  * TODO: This should be in htcp.h
232  */
233 typedef enum {
237 #endif /* USE_HTCP */
238 
239 #endif /* SQUID_ENUMS_H */
240 
Definition: enums.h:14
htcp_clr_reason
Definition: enums.h:233
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:133
ping_status_t
Definition: enums.h:39
store_client_t
Definition: enums.h:63
clientStream_status_t
Definition: enums.h:117
digest_read_state_t
Definition: enums.h:194
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:167
enum _mem_status_t mem_status_t
Definition: enums.h:168
fd_type
Definition: enums.h:12

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors