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