From 2748fe4f6483f8cfb3c4f91a01e8d897b7d1ac47 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 5 Apr 2010 21:35:38 +0000 Subject: Make downloads work again. svn path=/trunk/netsurf/; revision=10243 --- content/hlcache.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'content/hlcache.h') diff --git a/content/hlcache.h b/content/hlcache.h index 1208b15c4..9f03052fa 100644 --- a/content/hlcache.h +++ b/content/hlcache.h @@ -53,6 +53,16 @@ typedef struct { typedef nserror (*hlcache_handle_callback)(hlcache_handle *handle, const hlcache_event *event, void *pw); +/** Flags for high-level cache object retrieval */ +enum hlcache_retrieve_flag { + /* Note: low-level cache retrieval flags occupy the bottom 16 bits of + * the flags word. High-level cache flags occupy the top 16 bits. + * To avoid confusion, high-level flags are allocated from bit 31 down. + */ + /** It's permitted to convert this request into a download */ + HLCACHE_RETRIEVE_MAY_DOWNLOAD = (1 << 31) +}; + /** * Retrieve a high-level cache handle for an object * -- cgit v1.2.3