iPXE
Data Fields
pxe_menu Struct Reference

A PXE boot menu. More...

Data Fields

const char * prompt
 Prompt string (optional)
int timeout
 Timeout (in seconds)
unsigned int num_items
 Number of menu items.
unsigned int selection
 Selected menu item.
struct pxe_menu_item items [0]
 Menu items.

Detailed Description

A PXE boot menu.

This structure encapsulates the menu information provided via DHCP options.

Definition at line 63 of file pxemenu.c.


Field Documentation

const char* pxe_menu::prompt

Prompt string (optional)

Definition at line 65 of file pxemenu.c.

Referenced by pxe_menu_prompt_and_select().

Timeout (in seconds)

Negative indicates no timeout (i.e. wait indefinitely)

Definition at line 70 of file pxemenu.c.

Referenced by pxe_menu_prompt_and_select().

unsigned int pxe_menu::num_items

Number of menu items.

Definition at line 72 of file pxemenu.c.

Referenced by pxe_menu_draw_item(), and pxe_menu_select().

unsigned int pxe_menu::selection

Selected menu item.

Definition at line 74 of file pxemenu.c.

Referenced by pxe_menu_boot(), and pxe_menu_select().

Menu items.

Definition at line 76 of file pxemenu.c.

Referenced by pxe_menu_boot(), and pxe_menu_draw_item().


The documentation for this struct was generated from the following file: