aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/uzbl-core.h
diff options
context:
space:
mode:
authorGravatar Paweł Zuzelski <pawelz@pld-linux.org>2010-01-10 02:39:50 +0100
committerGravatar Paweł Zuzelski <pawelz@pld-linux.org>2010-01-10 02:39:50 +0100
commite1806cf413fbafa7dfef273ca4ced37e1918d080 (patch)
treedcbf0767fad00bd02c1b48791184890834988aca /src/uzbl-core.h
parent91e081938617e24dea672949c58b8dbad8d19630 (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.h8
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);