enums.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2019 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 {
66 
67 typedef enum {
72 
73 /*
74  * These are for StoreEntry->flag, which is defined as a SHORT
75  *
76  * NOTE: These flags are written to swap.state, so think very carefully
77  * about deleting or re-assigning!
78  */
79 enum {
82 
99 
115 };
116 
117 /*
118  * These are for client Streams. Each node in the stream can be queried for
119  * its status
120  */
121 typedef enum {
122  STREAM_NONE, /* No particular status */
123  STREAM_COMPLETE, /* All data has been flushed, no more reads allowed */
124  /* an unpredicted end has occurred, no more
125  * reads occurred, but no need to tell
126  * downstream that an error occurred
127  */
129  /* An error has occurred in this node or an above one,
130  * and the node is not generating an error body / it's
131  * midstream
132  */
135 
136 /* stateful helper callback response codes */
137 typedef enum {
142 
143 #if SQUID_SNMP
144 enum {
148 };
149 #endif /* SQUID_SNMP */
150 
151 enum {
157 };
158 
159 enum {
168 };
169 
170 enum {
173 };
174 
175 /*
176  * These are field indicators for raw cache-cache netdb transfers
177  */
178 enum {
183 };
184 
185 /*
186  * Return codes from checkVary(request)
187  */
188 enum {
193 };
194 
195 /*
196  * Store digest state enum
197  */
198 typedef enum {
206 
207 /* CygWin & Windows NT Port */
208 #if _SQUID_WINDOWS_
209 /*
210  * Supported Windows OS types codes
211  */
212 enum {
213  _WIN_OS_UNKNOWN,
214  _WIN_OS_WIN32S,
215  _WIN_OS_WIN95,
216  _WIN_OS_WIN98,
217  _WIN_OS_WINME,
218  _WIN_OS_WINNT,
219  _WIN_OS_WIN2K,
220  _WIN_OS_WINXP,
221  _WIN_OS_WINNET,
222  _WIN_OS_WINLON,
223  _WIN_OS_WIN7
224 };
225 #endif /* _SQUID_WINDOWS_ */
226 
227 enum {
231 };
232 
233 #if USE_HTCP
234 /*
235  * TODO: This should be in htcp.h
236  */
237 typedef enum {
241 #endif /* USE_HTCP */
242 
243 #endif /* SQUID_ENUMS_H */
244 
Definition: enums.h:14
htcp_clr_reason
Definition: enums.h:237
store_status_t
Definition: enums.h:45
Definition: enums.h:24
Definition: enums.h:23
stateful_helper_callback_t
Definition: enums.h:137
ping_status_t
Definition: enums.h:39
store_client_t
Definition: enums.h:67
clientStream_status_t
Definition: enums.h:121
digest_read_state_t
Definition: enums.h:198
Definition: enums.h:46
prohibits making the key public
Definition: enums.h:94
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:171
enum _mem_status_t mem_status_t
Definition: enums.h:172
fd_type
Definition: enums.h:12

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors