diff options
author | jcid <devnull@localhost> | 2008-05-29 02:19:08 +0200 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-05-29 02:19:08 +0200 |
commit | 1e21147176d202f3c8399c280ca3a6b77f830433 (patch) | |
tree | 33dfd52c64dc0fc708391fd143db00150cc2fb14 /src/capi.h | |
parent | e4acbd9f0423a47efa7188d801bc58c2bdedf8ba (diff) |
- Switched from charset to content-type for handling data.
- Fixed data guesser to detect ASCII, LATIN1, UTF8, KOI8-R, CP-1251 as text.
Diffstat (limited to 'src/capi.h')
-rw-r--r-- | src/capi.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -24,6 +24,9 @@ extern "C" { 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); |