aboutsummaryrefslogtreecommitdiff
path: root/src/capi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/capi.h')
-rw-r--r--src/capi.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/capi.h b/src/capi.h
index e61d815b..120eb3c1 100644
--- a/src/capi.h
+++ b/src/capi.h
@@ -10,11 +10,21 @@ extern "C" {
#include "web.hh"
/*
+ * Flag defines
+ */
+#define CAPI_IsCached (0x1)
+#define CAPI_IsEmpty (0x2)
+#define CAPI_InProgress (0x4)
+#define CAPI_Aborted (0x8)
+#define CAPI_Completed (0x10)
+
+/*
* Function prototypes
*/
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);
+int a_Capi_get_flags(const DilloUrl *Url);
int a_Capi_dpi_send_cmd(DilloUrl *url, void *bw, char *cmd, char *server,
int flags);
void a_Capi_stop_client(int Key, int force);