2 * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
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.
62 typedef enum _mem_status_t
{
91 * These are for StoreEntry->flag, which is defined as a SHORT
93 * NOTE: These flags are written to swap.state, so think very carefully
94 * about deleting or re-assigning!
102 ENTRY_CACHABLE_RESERVED_FOR_FUTURE_USE
,
113 * These are for client Streams. Each node in the stream can be queried for
117 STREAM_NONE
, /* No particular status */
118 STREAM_COMPLETE
, /* All data has been flushed, no more reads allowed */
119 /* an unpredicted end has occured, no more
120 * reads occured, but no need to tell
121 * downstream that an error occured
123 STREAM_UNPLANNED_COMPLETE
,
124 /* An error has occured in this node or an above one,
125 * and the node is not generating an error body / it's
129 } clientStream_status_t
;
131 /* stateful helper callback response codes */
136 } stateful_helper_callback_t
;
144 #endif /* SQUID_SNMP */
154 MEM_ACL_DENY_INFO_LIST
,
156 #if USE_CACHE_DIGESTS
164 MEM_HTTP_HDR_CONTENT_RANGE
,
169 // IMPORTANT: leave this here. pools above are initialized early with memInit()
171 // following pools are initialized late by their component if needed (or never)
184 STORE_LOG_SWAPOUTFAIL
187 /* parse state of HttpReply or HttpRequest */
189 psReadyToParseStartLine
= 0,
190 psReadyToParseHeaders
,
212 * These are field indicators for raw cache-cache netdb transfers
222 * Return codes from checkVary(request)
232 * Store digest state enum
241 } digest_read_state_t
;
243 /* Distinguish between Request and Reply (for header mangling) */
249 /* CygWin & Windows NT Port */
252 * Supported Windows OS types codes
267 #endif /* _SQUID_WINDOWS_ */
272 DISABLE_PMTU_TRANSPARENT
277 * TODO: This should be in htcp.h
281 HTCP_CLR_INVALIDATION
283 #endif /* USE_HTCP */
285 #endif /* SQUID_ENUMS_H */