summaryrefslogtreecommitdiff
path: root/content/llcache.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/llcache.h')
-rw-r--r--content/llcache.h11
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