aboutsummaryrefslogtreecommitdiff
path: root/src/capi.c
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-06-02 04:27:43 +0200
committerjcid <devnull@localhost>2008-06-02 04:27:43 +0200
commitc9332309b606361609ace591be1266ab59f9c0d4 (patch)
treec54450e2eb5f582c21fa74167cbdf424e8e4dd32 /src/capi.c
parentcf987dd5f89ceb29fcf71bc95eedb95145fa7c05 (diff)
- Moved charset decoding into cache.
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)