summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/menu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ipxe/menu.h')
-rw-r--r--src/include/ipxe/menu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/ipxe/menu.h b/src/include/ipxe/menu.h
index 3cc99be4..33965cfd 100644
--- a/src/include/ipxe/menu.h
+++ b/src/include/ipxe/menu.h
@@ -21,6 +21,8 @@ struct menu {
const char *title;
/** Menu items */
struct list_head items;
+ /** Hidden menu items, accessible via hotkey only */
+ struct list_head hidden_items;
};
/** A menu item */
@@ -40,7 +42,7 @@ struct menu_item {
extern struct menu * create_menu ( const char *name, const char *title );
extern struct menu_item * add_menu_item ( struct menu *menu, const char *label,
const char *text, int shortcut,
- int is_default );
+ int is_default, int is_hidden );
extern void destroy_menu ( struct menu *menu );
extern struct menu * find_menu ( const char *name );
extern int show_menu ( struct menu *menu, unsigned long timeout,