From 93e9bfe3232fbcb3531acf07a870ed404c526f27 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 13 Mar 2011 18:26:46 +0000 Subject: Shunt the schedule function definitions to desktop/schedule.h. Shunt the hlcache/llcache to using schedule to get their cleanups run. svn path=/trunk/netsurf/; revision=12029 --- content/hlcache.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'content/hlcache.h') diff --git a/content/hlcache.h b/content/hlcache.h index 5ed37203d..6738fea53 100644 --- a/content/hlcache.h +++ b/content/hlcache.h @@ -63,6 +63,15 @@ enum hlcache_retrieve_flag { HLCACHE_RETRIEVE_MAY_DOWNLOAD = (1 << 31) }; +/** + * Initialise the high-level cache, preparing the llcache also. + * + * \param cb Query handler for llcache + * \param pw Pointer to llcache query handler data + * \return NSERROR_OK on success, appropriate error otherwise. + */ +nserror hlcache_initialise(llcache_query_callback cb, void *pw); + /** * Finalise the high-level cache, destroying any remaining contents */ -- cgit v1.2.3