diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2010-02-17 13:55:26 -0300 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2010-02-17 13:55:26 -0300 |
commit | 9ec7bf0cf9413566ebb50fd5a3d388cbfaaaa013 (patch) | |
tree | 410dc4d5b71aeca4d0a0aac28f79a2dcb21c3af7 /src/capi.h | |
parent | f8d6d864ed3b9bd82564b73ef264bd834f2e1bf2 (diff) |
Implement the view source functionality as a dpi
Diffstat (limited to 'src/capi.h')
-rw-r--r-- | src/capi.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -31,10 +31,12 @@ const char *a_Capi_set_content_type(const DilloUrl *url, const char *ctype, 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); |