iPXE
Functions | Variables
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)
 
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  )

◆ login_ui()

int login_ui ( void  )

Definition at line 67 of file login_ui.c.

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

References login, and show_form().

Referenced by login_exec().

Variable Documentation

◆ username

static struct dynamic_item username
static
Initial value:
= {
.list = {
.prev = &login.items,
},
.name = "username",
.text = "Username",
.index = 0,
}
struct list_head * next
Next list entry.
Definition: list.h:20
static struct dynamic_ui login
Definition: login_ui.c:38
struct list_head items
Dynamic user interface items.
Definition: dynui.h:23
static struct dynamic_item password
Definition: login_ui.c:36
struct list_head list
List of dynamic user interface items.
Definition: dynui.h:31

Definition at line 35 of file login_ui.c.

Referenced by eap_rx_mschapv2_request(), 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

static struct dynamic_item password
static
Initial value:
= {
.list = {
.prev = &username.list,
},
.name = "password",
.text = "Password",
.index = 1,
.flags = DYNUI_SECRET,
}
struct list_head * next
Next list entry.
Definition: list.h:20
static struct dynamic_ui login
Definition: login_ui.c:38
struct list_head items
Dynamic user interface items.
Definition: dynui.h:23
static struct dynamic_item username
Definition: login_ui.c:35
struct list_head list
List of dynamic user interface items.
Definition: dynui.h:31
#define DYNUI_SECRET
Dynamic user interface item represents a secret.
Definition: dynui.h:48

Definition at line 36 of file login_ui.c.

Referenced by 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,
},
.count = 2,
}
struct list_head * next
Next list entry.
Definition: list.h:20
static struct dynamic_item password
Definition: login_ui.c:36
static struct dynamic_item username
Definition: login_ui.c:35
struct list_head list
List of dynamic user interface items.
Definition: dynui.h:31

Definition at line 38 of file login_ui.c.

Referenced by login_ui().