comparison src/capi.h @ 0:6ee11bf9e3ea

Initial revision
author jcid
date Sun, 07 Oct 2007 00:36:34 +0200
parents
children 14f50d7607ed
comparison
equal deleted inserted replaced
-1:000000000000 0:6ee11bf9e3ea
1 #ifndef __CAPI_H__
2 #define __CAPI_H__
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif /* __cplusplus */
7
8
9 #include "cache.h"
10 #include "web.hh"
11
12 /*
13 * Function prototypes
14 */
15 void a_Capi_init(void);
16 int a_Capi_open_url(DilloWeb *web, CA_Callback_t Call, void *CbData);
17 int a_Capi_get_buf(const DilloUrl *Url, char **PBuf, int *BufSize);
18 int a_Capi_dpi_send_cmd(DilloUrl *url, void *bw, char *cmd, char *server,
19 int flags);
20 void a_Capi_stop_client(int Key, int force);
21 void a_Capi_conn_abort_by_url(const DilloUrl *url);
22
23
24 #ifdef __cplusplus
25 }
26 #endif /* __cplusplus */
27
28 #endif /* __CAPI_H__ */
29