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/llcache.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'content/llcache.h') diff --git a/content/llcache.h b/content/llcache.h index d7958b056..215e6cc1a 100644 --- a/content/llcache.h +++ b/content/llcache.h @@ -166,14 +166,19 @@ nserror llcache_initialise(llcache_query_callback cb, void *pw); void llcache_finalise(void); /** - * Cause the low-level cache to emit any pending notifications - * and attempt to clean the cache. No guarantee is made about - * what, if any, cache cleaning will occur. + * Cause the low-level cache to emit any pending notifications. * * \return NSERROR_OK on success, appropriate error otherwise. */ nserror llcache_poll(void); +/** + * Cause the low-level cache to attempt to perform cleanup. No + * guarantees are made as to whether or not cleanups will take + * place and what, if any, space savings will be made. + */ +void llcache_clean(void); + /** * Retrieve a handle for a low-level cache object * -- cgit v1.2.3