summaryrefslogtreecommitdiff
path: root/content/hlcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'content/hlcache.c')
-rw-r--r--content/hlcache.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/content/hlcache.c b/content/hlcache.c
index dd520c8c6..84f391aed 100644
--- a/content/hlcache.c
+++ b/content/hlcache.c
@@ -274,6 +274,16 @@ nserror hlcache_handle_abort(hlcache_handle *handle)
return content_abort(c);
}
+/* See hlcache.h for documentation */
+nserror hlcache_handle_replace_callback(hlcache_handle *handle,
+ hlcache_handle_callback cb, void *pw)
+{
+ handle->cb = cb;
+ handle->pw = pw;
+
+ return NSERROR_OK;
+}
+
/******************************************************************************
* High-level cache internals *
******************************************************************************/