diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2010-04-05 21:35:38 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2010-04-05 21:35:38 +0000 |
commit | 2748fe4f6483f8cfb3c4f91a01e8d897b7d1ac47 (patch) | |
tree | 0647010a17aee4237d125e42cc8bd726ec0573ae /content/hlcache.h | |
parent | 89daef932a9bbc46e276f6d306b0aabf109806f9 (diff) | |
download | netsurf-2748fe4f6483f8cfb3c4f91a01e8d897b7d1ac47.tar.gz netsurf-2748fe4f6483f8cfb3c4f91a01e8d897b7d1ac47.tar.bz2 |
Make downloads work again.
svn path=/trunk/netsurf/; revision=10243
Diffstat (limited to 'content/hlcache.h')
-rw-r--r-- | content/hlcache.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 * |