summaryrefslogtreecommitdiff
path: root/riscos/gui.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2003-10-23 00:09:17 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2003-10-23 00:09:17 +0000
commitcaac2628a7b3dafd707c385a50d98a3028085b60 (patch)
tree474c5c6b8096d8271cf621266e0a3a2f884249b6 /riscos/gui.h
parent9fd638f098b36399e3ca7c90df3c283ab07ed08e (diff)
downloadnetsurf-caac2628a7b3dafd707c385a50d98a3028085b60.tar.gz
netsurf-caac2628a7b3dafd707c385a50d98a3028085b60.tar.bz2
[project @ 2003-10-23 00:09:16 by jmb]
Enable logging into sites which require Basic Authentication Has a couple of issues: 1) Opens the page in the first window in the list 2) Doesn't save the login details so you have to log in to each page. 3) The call to ro_gui_401login_open shouldn't be there. svn path=/import/netsurf/; revision=372
Diffstat (limited to 'riscos/gui.h')
-rw-r--r--riscos/gui.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/riscos/gui.h b/riscos/gui.h
index 83cb15a2a..3ad54ed0a 100644
--- a/riscos/gui.h
+++ b/riscos/gui.h
@@ -120,6 +120,11 @@ void ro_gui_start_selection(wimp_pointer *pointer, wimp_window_state *state,
gui_window *g);
void ro_gui_drag_end(wimp_dragged* drag);
+/* in 401login.c */
+void ro_gui_401login_init(void);
+void ro_gui_401login_open(char* host, char * realm, char* fetchurl);
+void ro_gui_401login_click(wimp_pointer *pointer);
+
/* icon numbers */
#define ICON_CONFIG_SAVE 0
#define ICON_CONFIG_CANCEL 1
@@ -159,4 +164,11 @@ void ro_gui_drag_end(wimp_dragged* drag);
#define ICON_DOWNLOAD_PATH 3
#define ICON_DOWNLOAD_ABORT 4
+#define ICON_401LOGIN_LOGIN 0
+#define ICON_401LOGIN_CANCEL 1
+#define ICON_401LOGIN_HOST 2
+#define ICON_401LOGIN_REALM 3
+#define ICON_401LOGIN_USERNAME 4
+#define ICON_401LOGIN_PASSWORD 5
+
#endif