2 * Copyright (C) 1996-2018 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
{
50 /// StoreEntry relationship with a disk cache
52 /// StoreEntry is currently not associated with any disk store entry.
53 /// Does not guarantee (or preclude!) a matching disk store entry existence.
55 /// StoreEntry is being swapped out to the associated disk store entry.
56 /// Guarantees the disk store entry existence.
58 /// StoreEntry is associated with a complete (i.e., fully swapped out) disk store entry.
59 /// Guarantees the disk store entry existence.
70 * These are for StoreEntry->flag, which is defined as a SHORT
72 * NOTE: These flags are written to swap.state, so think very carefully
73 * about deleting or re-assigning!
77 ENTRY_REVALIDATE_ALWAYS
,
79 RELEASE_REQUEST
, ///< prohibits making the key public
81 ENTRY_REVALIDATE_STALE
,
92 * These are for client Streams. Each node in the stream can be queried for
96 STREAM_NONE
, /* No particular status */
97 STREAM_COMPLETE
, /* All data has been flushed, no more reads allowed */
98 /* an unpredicted end has occurred, no more
99 * reads occurred, but no need to tell
100 * downstream that an error occurred
102 STREAM_UNPLANNED_COMPLETE
,
103 /* An error has occurred in this node or an above one,
104 * and the node is not generating an error body / it's
108 } clientStream_status_t
;
110 /* stateful helper callback response codes */
115 } stateful_helper_callback_t
;
123 #endif /* SQUID_SNMP */
130 STORE_LOG_SWAPOUTFAIL
150 * These are field indicators for raw cache-cache netdb transfers
160 * Return codes from checkVary(request)
170 * Store digest state enum
179 } digest_read_state_t
;
181 /* CygWin & Windows NT Port */
184 * Supported Windows OS types codes
199 #endif /* _SQUID_WINDOWS_ */
204 DISABLE_PMTU_TRANSPARENT
209 * TODO: This should be in htcp.h
213 HTCP_CLR_INVALIDATION
215 #endif /* USE_HTCP */
217 #endif /* SQUID_ENUMS_H */