|
NetSurf
|
#include "amiga/os3support.h"#include <assert.h>#include <stdlib.h>#include <string.h>#include <proto/exec.h>#include <proto/intuition.h>#include <proto/utility.h>#include <proto/window.h>#include <proto/layout.h>#include <proto/string.h>#include <proto/button.h>#include <proto/label.h>#include <classes/window.h>#include <gadgets/layout.h>#include <gadgets/string.h>#include <gadgets/button.h>#include <images/label.h>#include <reaction/reaction_macros.h>#include "utils/messages.h"#include "utils/nsurl.h"#include "netsurf/mouse.h"#include "netsurf/window.h"#include "netsurf/url_db.h"#include "amiga/gui.h"#include "amiga/libs.h"#include "amiga/login.h"#include "amiga/misc.h"#include "amiga/object.h"#include "amiga/utf8.h"Go to the source code of this file.
Data Structures | |
| struct | gui_login_window |
Enumerations | |
| enum | { AMI_LOGIN_MSG_HOST, AMI_LOGIN_MSG_REALM, AMI_LOGIN_MSG_USER, AMI_LOGIN_MSG_PASS, AMI_LOGIN_MSG_LOGIN, AMI_LOGIN_MSG_CANCEL, AMI_LOGIN_MSG_MAX } |
| enum | { OID_L_MAIN = 0, GID_L_MAIN, GID_L_USER, GID_L_PASS, GID_L_LOGIN, GID_L_CANCEL, GID_L_LAST } |
Functions | |
| static BOOL | ami_401login_event (void *w) |
| static void | ami_401login_close (void *w) |
| nserror | gui_401login_open (nsurl *url, const char *realm, const char *username, const char *password, nserror(*cb)(const char *username, const char *password, void *pw), void *cbpw) |
| login window request. More... | |
| static void | ami_401login_login (struct gui_login_window *lw) |
Variables | |
| static const struct ami_win_event_table | ami_login_table |
| anonymous enum |
| anonymous enum |
|
static |
Definition at line 216 of file login.c.
References ami_gui_win_list_remove(), AMI_LOGIN_MSG_MAX, ami_utf8_free(), gui_login_window::cb, gui_login_window::cbpw, gui_login_window::host, gui_login_window::messages, nsurl_unref(), gui_login_window::objects, OID_L_MAIN, gui_login_window::realm, and gui_login_window::url.
Referenced by ami_401login_event(), and ami_401login_login().
|
static |
Definition at line 266 of file login.c.
References ami_401login_close(), ami_401login_login(), GID_L_CANCEL, GID_L_LOGIN, gui_login_window::objects, OID_L_MAIN, and result.
|
static |
Definition at line 237 of file login.c.
References ami_401login_close(), ami_to_utf8_easy(), ami_utf8_free(), amiga_warn_user(), gui_login_window::cb, gui_login_window::cbpw, GID_L_PASS, GID_L_USER, and gui_login_window::objects.
Referenced by ami_401login_event().
|
static |
1.8.13