From 534b464becb6c429b5976695bfe142690f45b779 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Tue, 27 Jul 2004 15:49:28 +0000 Subject: [project @ 2004-07-27 15:49:28 by bursa] Implement proxy authentication. Bring templates in line with style guide (icon sizes and fill display fields), and remove dead icons. Clean up choices dialog code. Fix persistent dialog code. Make browser choices the default pane. svn path=/import/netsurf/; revision=1153 --- desktop/options.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'desktop/options.c') diff --git a/desktop/options.c b/desktop/options.c index 92a3659e9..c999e0ea6 100644 --- a/desktop/options.c +++ b/desktop/options.c @@ -35,6 +35,12 @@ bool option_http_proxy = false; char *option_http_proxy_host = 0; /** Proxy port. */ int option_http_proxy_port = 8080; +/** Proxy authentication method. */ +int option_http_proxy_auth = OPTION_HTTP_PROXY_AUTH_NONE; +/** Proxy authentication user name */ +char *option_http_proxy_auth_user = 0; +/** Proxy authentication password */ +char *option_http_proxy_auth_pass = 0; /** Default font size / 0.1pt. */ int option_font_size = 100; /** Minimum font size. */ @@ -57,6 +63,9 @@ struct { { "http_proxy", OPTION_BOOL, &option_http_proxy }, { "http_proxy_host", OPTION_STRING, &option_http_proxy_host }, { "http_proxy_port", OPTION_INTEGER, &option_http_proxy_port }, + { "http_proxy_auth", OPTION_BOOL, &option_http_proxy_auth }, + { "http_proxy_auth_user", OPTION_STRING, &option_http_proxy_auth_user }, + { "http_proxy_auth_pass", OPTION_STRING, &option_http_proxy_auth_pass }, { "font_size", OPTION_INTEGER, &option_font_size }, { "font_min_size", OPTION_INTEGER, &option_font_min_size }, { "accept_language", OPTION_STRING, &option_accept_language }, -- cgit v1.2.3