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 */
151 STORE_LOG_SWAPOUTFAIL
154 /* parse state of HttpReply or HttpRequest */
156 psReadyToParseStartLine
= 0,
157 psReadyToParseHeaders
,
179 * These are field indicators for raw cache-cache netdb transfers
189 * Return codes from checkVary(request)
199 * Store digest state enum
208 } digest_read_state_t
;
210 /* Distinguish between Request and Reply (for header mangling) */
216 /* CygWin & Windows NT Port */
219 * Supported Windows OS types codes
234 #endif /* _SQUID_WINDOWS_ */
239 DISABLE_PMTU_TRANSPARENT
244 * TODO: This should be in htcp.h
248 HTCP_CLR_INVALIDATION
250 #endif /* USE_HTCP */
252 #endif /* SQUID_ENUMS_H */