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/llcache.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/llcache.h')
-rw-r--r-- | content/llcache.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/content/llcache.h b/content/llcache.h index d7958b056..215e6cc1a 100644 --- a/content/llcache.h +++ b/content/llcache.h @@ -166,15 +166,20 @@ 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 * * \param url URL of the object to fetch |