diff src/capi.h @ 1570:f275bd2cdeed

Implement the view source functionality as a dpi
author Jorge Arellano Cid <jcid@dillo.org>
date Wed, 17 Feb 2010 13:55:26 -0300
parents 24a5d37b09e1
children 404899a37226
line wrap: on
line diff
--- a/src/capi.h	Wed Feb 17 13:54:58 2010 -0300
+++ b/src/capi.h	Wed Feb 17 13:55:26 2010 -0300
@@ -31,10 +31,12 @@
 int a_Capi_get_flags(const DilloUrl *Url);
 int a_Capi_get_flags_with_redirection(const DilloUrl *Url);
 int a_Capi_dpi_verify_request(BrowserWindow *bw, DilloUrl *url);
-int a_Capi_dpi_send_data(DilloUrl *url, void *bw, char *data, int data_sz,
-                         char *server, int flags);
+int a_Capi_dpi_send_data(const DilloUrl *url, void *bw, 
+                         char *data, int data_sz, char *server, int flags);
 int a_Capi_dpi_send_cmd(DilloUrl *url, void *bw, char *cmd, char *server,
                          int flags);
+void a_Capi_dpi_send_source(BrowserWindow *bw, const DilloUrl *url,
+                            char *buf, int buf_size);
 void a_Capi_stop_client(int Key, int force);
 void a_Capi_conn_abort_by_url(const DilloUrl *url);