diff options
author | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2011-03-13 18:26:46 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2011-03-13 18:26:46 +0000 |
commit | 93e9bfe3232fbcb3531acf07a870ed404c526f27 (patch) | |
tree | 7835b3cc4ac66d21fc64460c5f11f6e62760a042 /content/hlcache.h | |
parent | c615507e150592895980608d00601beed16d28b9 (diff) | |
download | netsurf-93e9bfe3232fbcb3531acf07a870ed404c526f27.tar.gz netsurf-93e9bfe3232fbcb3531acf07a870ed404c526f27.tar.bz2 |
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
Diffstat (limited to 'content/hlcache.h')
-rw-r--r-- | content/hlcache.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/content/hlcache.h b/content/hlcache.h index 5ed37203d..6738fea53 100644 --- a/content/hlcache.h +++ b/content/hlcache.h @@ -64,6 +64,15 @@ enum hlcache_retrieve_flag { }; /** + * 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 */ void hlcache_finalise(void); |