diff src/capi.h @ 814:3e06388a0bc3

Cleanup and logic change in a_Cache_set_content_type().
author Jorge Arellano Cid <jcid@dillo.org>
date Fri, 23 Jan 2009 16:53:57 -0300
parents 2d9adb33f587
children 17688e07a8b7
line wrap: on
line diff
--- a/src/capi.h	Fri Jan 23 16:50:20 2009 -0300
+++ b/src/capi.h	Fri Jan 23 16:53:57 2009 -0300
@@ -26,7 +26,8 @@
 int a_Capi_get_buf(const DilloUrl *Url, char **PBuf, int *BufSize);
 void a_Capi_unref_buf(const DilloUrl *Url);
 const char *a_Capi_get_content_type(const DilloUrl *url);
-const char *a_Capi_set_content_type(const DilloUrl *url, const char *ctype);
+const char *a_Capi_set_content_type(const DilloUrl *url, const char *ctype,
+                                    const char *from);
 int a_Capi_get_flags(const DilloUrl *Url);
 int a_Capi_dpi_send_cmd(DilloUrl *url, void *bw, char *cmd, char *server,
                          int flags);