comparison src/capi.h @ 260:81fc5011ea56

- Moved charset decoding into cache.
author jcid
date Mon, 02 Jun 2008 04:27:43 +0200
parents fce9380ee68a
children 2d9adb33f587
comparison
equal deleted inserted replaced
259:ea5982fb5dd9 260:81fc5011ea56
22 * Function prototypes 22 * Function prototypes
23 */ 23 */
24 void a_Capi_init(void); 24 void a_Capi_init(void);
25 int a_Capi_open_url(DilloWeb *web, CA_Callback_t Call, void *CbData); 25 int a_Capi_open_url(DilloWeb *web, CA_Callback_t Call, void *CbData);
26 int a_Capi_get_buf(const DilloUrl *Url, char **PBuf, int *BufSize); 26 int a_Capi_get_buf(const DilloUrl *Url, char **PBuf, int *BufSize);
27 void a_Capi_unref_buf(const DilloUrl *Url);
27 const char *a_Capi_get_content_type(const DilloUrl *url); 28 const char *a_Capi_get_content_type(const DilloUrl *url);
28 const char *a_Capi_set_content_type(const DilloUrl *url, const char *ctype, 29 const char *a_Capi_set_content_type(const DilloUrl *url, const char *ctype,
29 bool_t force); 30 bool_t force);
30 int a_Capi_get_flags(const DilloUrl *Url); 31 int a_Capi_get_flags(const DilloUrl *Url);
31 int a_Capi_dpi_send_cmd(DilloUrl *url, void *bw, char *cmd, char *server, 32 int a_Capi_dpi_send_cmd(DilloUrl *url, void *bw, char *cmd, char *server,