annotate src/capi.h @ 0:6ee11bf9e3ea

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