diff src/capi.h @ 250:fce9380ee68a

- Switched from charset to content-type for handling data. - Fixed data guesser to detect ASCII, LATIN1, UTF8, KOI8-R, CP-1251 as text.
author jcid
date Thu, 29 May 2008 02:19:08 +0200
parents 14f50d7607ed
children 81fc5011ea56
line wrap: on
line diff
--- a/src/capi.h	Wed May 28 23:54:36 2008 +0200
+++ b/src/capi.h	Thu May 29 02:19:08 2008 +0200
@@ -24,6 +24,9 @@
 void a_Capi_init(void);
 int a_Capi_open_url(DilloWeb *web, CA_Callback_t Call, void *CbData);
 int a_Capi_get_buf(const DilloUrl *Url, char **PBuf, int *BufSize);
+const char *a_Capi_get_content_type(const DilloUrl *url);
+const char *a_Capi_set_content_type(const DilloUrl *url, const char *ctype,
+                                    bool_t force);
 int a_Capi_get_flags(const DilloUrl *Url);
 int a_Capi_dpi_send_cmd(DilloUrl *url, void *bw, char *cmd, char *server,
                          int flags);