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.
32 * These are for StoreEntry->flag, which is defined as a SHORT
34 * NOTE: These flags are written to swap.state, so think very carefully
35 * about deleting or re-assigning!
43 ENTRY_CACHABLE_RESERVED_FOR_FUTURE_USE
,
54 * These are for client Streams. Each node in the stream can be queried for
58 STREAM_NONE
, /* No particular status */
59 STREAM_COMPLETE
, /* All data has been flushed, no more reads allowed */
60 /* an unpredicted end has occured, no more
61 * reads occured, but no need to tell
62 * downstream that an error occured
64 STREAM_UNPLANNED_COMPLETE
,
65 /* An error has occured in this node or an above one,
66 * and the node is not generating an error body / it's
70 } clientStream_status_t
;
72 /* stateful helper callback response codes */
77 } stateful_helper_callback_t
;
85 #endif /* SQUID_SNMP */
95 /* parse state of HttpReply or HttpRequest */
97 psReadyToParseStartLine
= 0,
98 psReadyToParseHeaders
,
120 * These are field indicators for raw cache-cache netdb transfers
130 * Return codes from checkVary(request)
140 * Store digest state enum
149 } digest_read_state_t
;
151 /* Distinguish between Request and Reply (for header mangling) */
157 /* CygWin & Windows NT Port */
160 * Supported Windows OS types codes
175 #endif /* _SQUID_WINDOWS_ */
180 DISABLE_PMTU_TRANSPARENT
185 * TODO: This should be in htcp.h
189 HTCP_CLR_INVALIDATION
191 #endif /* USE_HTCP */
193 #endif /* SQUID_ENUMS_H */