diff options
author | Paweł Zuzelski <pawelz@pld-linux.org> | 2010-01-10 02:39:50 +0100 |
---|---|---|
committer | Paweł Zuzelski <pawelz@pld-linux.org> | 2010-01-10 02:39:50 +0100 |
commit | e1806cf413fbafa7dfef273ca4ced37e1918d080 (patch) | |
tree | dcbf0767fad00bd02c1b48791184890834988aca /src/uzbl-core.h | |
parent | 91e081938617e24dea672949c58b8dbad8d19630 (diff) |
authentication_handler implementaion
Authentication handler allows to delegate http authentication to external
program. It introduces one new configuration variable: authentication_handler.
Note that this commit does not affect uzbl behaviour unless this variable is
set. Also updated README documentation, default config and added example
authentication script.
Diffstat (limited to 'src/uzbl-core.h')
-rw-r--r-- | src/uzbl-core.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/uzbl-core.h b/src/uzbl-core.h index df9eb1a..998ea1d 100644 --- a/src/uzbl-core.h +++ b/src/uzbl-core.h @@ -122,6 +122,7 @@ typedef struct { gchar* socket_dir; gchar* download_handler; gchar* cookie_handler; + gchar* authentication_handler; gchar* new_window; gchar* default_font_family; gchar* monospace_font_family; @@ -389,6 +390,13 @@ run_external_js (WebKitWebView * web_view, GArray *argv, GString *result); void eval_js(WebKitWebView * web_view, gchar *script, GString *result); +void +handle_authentication (SoupSession *session, + SoupMessage *msg, + SoupAuth *auth, + gboolean retrying, + gpointer user_data); + void handle_cookies (SoupSession *session, SoupMessage *msg, gpointer user_data); |