enums.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 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 
50 typedef enum {
55 
56 typedef enum {
61 
62 /*
63  * These are for StoreEntry->flag, which is defined as a SHORT
64  *
65  * NOTE: These flags are written to swap.state, so think very carefully
66  * about deleting or re-assigning!
67  */
68 enum {
82 };
83 
84 /*
85  * These are for client Streams. Each node in the stream can be queried for
86  * its status
87  */
88 typedef enum {
89  STREAM_NONE, /* No particular status */
90  STREAM_COMPLETE, /* All data has been flushed, no more reads allowed */
91  /* an unpredicted end has occured, no more
92  * reads occured, but no need to tell
93  * downstream that an error occured
94  */
96  /* An error has occured in this node or an above one,
97  * and the node is not generating an error body / it's
98  * midstream
99  */
102 
103 /* stateful helper callback response codes */
104 typedef enum {
109 
110 #if SQUID_SNMP
111 enum {
115 };
116 #endif /* SQUID_SNMP */
117 
118 enum {
124 };
125 
126 enum {
135 };
136 
137 enum {
140 };
141 
142 /*
143  * These are field indicators for raw cache-cache netdb transfers
144  */
145 enum {
150 };
151 
152 /*
153  * Return codes from checkVary(request)
154  */
155 enum {
160 };
161 
162 /*
163  * Store digest state enum
164  */
165 typedef enum {
173 
174 /* CygWin & Windows NT Port */
175 #if _SQUID_WINDOWS_
176 /*
177  * Supported Windows OS types codes
178  */
179 enum {
180  _WIN_OS_UNKNOWN,
181  _WIN_OS_WIN32S,
182  _WIN_OS_WIN95,
183  _WIN_OS_WIN98,
184  _WIN_OS_WINME,
185  _WIN_OS_WINNT,
186  _WIN_OS_WIN2K,
187  _WIN_OS_WINXP,
188  _WIN_OS_WINNET,
189  _WIN_OS_WINLON,
190  _WIN_OS_WIN7
191 };
192 #endif /* _SQUID_WINDOWS_ */
193 
194 enum {
198 };
199 
200 #if USE_HTCP
201 /*
202  * TODO: This should be in htcp.h
203  */
204 typedef enum {
208 #endif /* USE_HTCP */
209 
210 #endif /* SQUID_ENUMS_H */
211 
Definition: enums.h:14
htcp_clr_reason
Definition: enums.h:204
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:104
ping_status_t
Definition: enums.h:39
store_client_t
Definition: enums.h:56
clientStream_status_t
Definition: enums.h:88
digest_read_state_t
Definition: enums.h:165
Definition: enums.h:46
Definition: enums.h:17
_mem_status_t
Definition: enums.h:34
swap_status_t
Definition: enums.h:50
peer_t
Definition: enums.h:27
Definition: enums.h:15
Definition: enums.h:138
enum _mem_status_t mem_status_t
Definition: enums.h:139
fd_type
Definition: enums.h:12

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors