2 * Copyright (C) 1996-2017 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.
34 typedef enum _mem_status_t
{
63 * These are for StoreEntry->flag, which is defined as a SHORT
65 * NOTE: These flags are written to swap.state, so think very carefully
66 * about deleting or re-assigning!
70 ENTRY_REVALIDATE_ALWAYS
,
74 ENTRY_REVALIDATE_STALE
,
85 * These are for client Streams. Each node in the stream can be queried for
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
95 STREAM_UNPLANNED_COMPLETE
,
96 /* An error has occured in this node or an above one,
97 * and the node is not generating an error body / it's
101 } clientStream_status_t
;
103 /* stateful helper callback response codes */
108 } stateful_helper_callback_t
;
116 #endif /* SQUID_SNMP */
123 STORE_LOG_SWAPOUTFAIL
126 /* parse state of HttpReply or HttpRequest */
128 psReadyToParseStartLine
= 0,
129 psReadyToParseHeaders
,
151 * These are field indicators for raw cache-cache netdb transfers
161 * Return codes from checkVary(request)
171 * Store digest state enum
180 } digest_read_state_t
;
182 /* CygWin & Windows NT Port */
185 * Supported Windows OS types codes
200 #endif /* _SQUID_WINDOWS_ */
205 DISABLE_PMTU_TRANSPARENT
210 * TODO: This should be in htcp.h
214 HTCP_CLR_INVALIDATION
216 #endif /* USE_HTCP */
218 #endif /* SQUID_ENUMS_H */