Data Fields
pxe_menu Struct Reference

A PXE boot menu. More...

Data Fields

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

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

◆ prompt

const char* pxe_menu::prompt

Prompt string (optional)

Definition at line 65 of file pxemenu.c.

◆ timeout

int pxe_menu::timeout

Timeout (in seconds)

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

Definition at line 70 of file pxemenu.c.

◆ num_items

unsigned int pxe_menu::num_items

Number of menu items.

Definition at line 72 of file pxemenu.c.

◆ selection

unsigned int pxe_menu::selection

Selected menu item.

Definition at line 74 of file pxemenu.c.

◆ items

struct pxe_menu_item pxe_menu::items[0]

Menu items.

Definition at line 76 of file pxemenu.c.

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