diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2010-04-04 12:41:19 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2010-04-04 12:41:19 +0000 |
commit | 79ce683b4e6d34fe327b00f1e427e476016cfab0 (patch) | |
tree | 2ed3ba800e8f570000f97588ce668eb47168565a /content/llcache.h | |
parent | 3daffe3d6b07be7bbeedbcb2586f11edd872cbd6 (diff) | |
download | netsurf-79ce683b4e6d34fe327b00f1e427e476016cfab0.tar.gz netsurf-79ce683b4e6d34fe327b00f1e427e476016cfab0.tar.bz2 |
Most of a stop implementation.
Remaining work:
1) Clone content_html_data
2) Cloning content_css_data requires the charset of the old content
3) Calling hlcache_handle_abort() before a content has been created must clean up the retrieval context.
svn path=/trunk/netsurf/; revision=10236
Diffstat (limited to 'content/llcache.h')
-rw-r--r-- | content/llcache.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/content/llcache.h b/content/llcache.h index 7c3fad6de..434d0b641 100644 --- a/content/llcache.h +++ b/content/llcache.h @@ -201,6 +201,24 @@ nserror llcache_handle_change_callback(llcache_handle *handle, nserror llcache_handle_release(llcache_handle *handle); /** + * Clone a low-level cache handle, producing a new handle to + * the same fetch/content. + * + * \param handle Handle to clone + * \param result Pointer to location to receive cloned handle + * \return NSERROR_OK on success, appropriate error otherwise + */ +nserror llcache_handle_clone(llcache_handle *handle, llcache_handle **result); + +/** + * Abort a low-level fetch, informing all users of this action. + * + * \param handle Handle to abort + * \return NSERROR_OK on success, appropriate error otherwise + */ +nserror llcache_handle_abort(llcache_handle *handle); + +/** * Retrieve the post-redirect URL of a low-level cache object * * \param handle Handle to retrieve URL from |