From 79ce683b4e6d34fe327b00f1e427e476016cfab0 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 4 Apr 2010 12:41:19 +0000 Subject: 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 --- content/hlcache.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'content/hlcache.h') diff --git a/content/hlcache.h b/content/hlcache.h index 7c4f05290..5ef42a301 100644 --- a/content/hlcache.h +++ b/content/hlcache.h @@ -87,6 +87,14 @@ nserror hlcache_handle_retrieve(const char *url, uint32_t flags, */ nserror hlcache_handle_release(hlcache_handle *handle); +/** + * Abort a high-level cache fetch + * + * \param handle Handle to abort + * \return NSERROR_OK on success, appropriate error otherwise + */ +nserror hlcache_handle_abort(hlcache_handle *handle); + /** * Retrieve a content object from a cache handle * -- cgit v1.2.3