aboutsummaryrefslogtreecommitdiff
path: root/src/capi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/capi.c')
-rw-r--r--src/capi.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/capi.c b/src/capi.c
index 3cb597d9..0e626554 100644
--- a/src/capi.c
+++ b/src/capi.c
@@ -406,6 +406,14 @@ int a_Capi_get_buf(const DilloUrl *Url, char **PBuf, int *BufSize)
}
/*
+ * Unref the cache's buffer when no longer using it.
+ */
+void a_Capi_unref_buf(const DilloUrl *Url)
+{
+ a_Cache_unref_buf(Url);
+}
+
+/*
* Get the Content-Type associated with the URL
*/
const char *a_Capi_get_content_type(const DilloUrl *url)