2 * Copyright (C) 1996-2015 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.
49 CC_ENUM_END
/* also used to mean "invalid" */
58 SC_ENUM_END
/* also used to mean "invalid" */
61 typedef enum _mem_status_t
{
90 * These are for StoreEntry->flag, which is defined as a SHORT
92 * NOTE: These flags are written to swap.state, so think very carefully
93 * about deleting or re-assigning!
101 ENTRY_CACHABLE_RESERVED_FOR_FUTURE_USE
,
112 * These are for client Streams. Each node in the stream can be queried for
116 STREAM_NONE
, /* No particular status */
117 STREAM_COMPLETE
, /* All data has been flushed, no more reads allowed */
118 /* an unpredicted end has occured, no more
119 * reads occured, but no need to tell
120 * downstream that an error occured
122 STREAM_UNPLANNED_COMPLETE
,
123 /* An error has occured in this node or an above one,
124 * and the node is not generating an error body / it's
128 } clientStream_status_t
;
130 /* stateful helper callback response codes */
135 } stateful_helper_callback_t
;
143 #endif /* SQUID_SNMP */
150 STORE_LOG_SWAPOUTFAIL
153 /* parse state of HttpReply or HttpRequest */
155 psReadyToParseStartLine
= 0,
156 psReadyToParseHeaders
,
178 * These are field indicators for raw cache-cache netdb transfers
188 * Return codes from checkVary(request)
198 * Store digest state enum
207 } digest_read_state_t
;
209 /* Distinguish between Request and Reply (for header mangling) */
215 /* CygWin & Windows NT Port */
218 * Supported Windows OS types codes
233 #endif /* _SQUID_WINDOWS_ */
238 DISABLE_PMTU_TRANSPARENT
243 * TODO: This should be in htcp.h
247 HTCP_CLR_INVALIDATION
249 #endif /* USE_HTCP */
251 #endif /* SQUID_ENUMS_H */