iPXE
login_ui.c File Reference

Login UI. More...

#include <ipxe/dynui.h>
#include <ipxe/login_ui.h>

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 FILE_SECBOOT (PERMITTED)
int login_ui (void)

Variables

static struct dynamic_item username
static struct dynamic_item password
static struct dynamic_ui login

Detailed Description

Login UI.

Definition in file login_ui.c.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ FILE_SECBOOT()

FILE_SECBOOT ( PERMITTED )

◆ login_ui()

int login_ui ( void )

Definition at line 68 of file login_ui.c.

68 {
69
70 return show_form ( &login );
71}
int show_form(struct dynamic_ui *dynui)
Show form.
Definition form_ui.c:508
static struct dynamic_ui login
Definition login_ui.c:39

References login, and show_form().

Referenced by login_exec().

Variable Documentation

◆ username

struct dynamic_item username
static
Initial value:
= {
.list = {
.prev = &login.items,
.next = &password.list,
},
.name = "username",
.text = "Username",
.index = 0,
}
static struct dynamic_item password
Definition login_ui.c:37

Definition at line 36 of file login_ui.c.

Referenced by __setting(), __setting(), eap_rx_mschapv2_request(), FILE_SECBOOT(), http_format_ntlm_auth(), http_ntlm_authenticate(), mschapv2_auth(), mschapv2_challenge_hash(), mschapv2_response(), netbios_domain(), netbios_domain_undo(), ntlm_authenticate(), ntlm_authenticate_len(), and ntlm_key().

◆ password

struct dynamic_item password
static
Initial value:
= {
.list = {
.prev = &username.list,
.next = &login.items,
},
.name = "password",
.text = "Password",
.index = 1,
.flags = DYNUI_SECRET,
}
#define DYNUI_SECRET
Dynamic user interface item represents a secret.
Definition dynui.h:49
static struct dynamic_item username
Definition login_ui.c:36

Definition at line 37 of file login_ui.c.

Referenced by __setting(), eap_rx_mschapv2_request(), http_digest_authenticate(), http_ntlm_authenticate(), mschapv2_auth(), mschapv2_password_hash(), mschapv2_response(), and ntlm_key().

◆ login

struct dynamic_ui login
static
Initial value:
= {
.items = {
.prev = &password.list,
.next = &username.list,
},
.count = 2,
}

Definition at line 39 of file login_ui.c.

39 {
40 .items = {
41 .prev = &password.list,
42 .next = &username.list,
43 },
44 .count = 2,
45};

Referenced by COMMAND(), and login_ui().