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 61 of file pxemenu.c.


Field Documentation

const char* pxe_menu::prompt

Prompt string (optional).

Definition at line 63 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 68 of file pxemenu.c.

Referenced by pxe_menu_prompt_and_select().

unsigned int pxe_menu::num_items

Number of menu items.

Definition at line 70 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 72 of file pxemenu.c.

Referenced by pxe_menu_boot(), and pxe_menu_select().

struct pxe_menu_item pxe_menu::items[0] [read]

Menu items.

Definition at line 74 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:

Generated on Tue Apr 6 20:02:07 2010 for gPXE by  doxygen 1.5.7.1