10 FILE_LICENCE ( GPL2_OR_LATER );
12 #include <ipxe/list.h>
17 struct list_head list;
23 struct list_head items;
28 /** List of menu items */
29 struct list_head list;
36 /** Is default item */
40 extern struct menu * create_menu ( const char *name, const char *title );
41 extern struct menu_item * add_menu_item ( struct menu *menu, const char *label,
42 const char *text, int shortcut,
44 extern void destroy_menu ( struct menu *menu );
45 extern struct menu * find_menu ( const char *name );
46 extern int show_menu ( struct menu *menu, unsigned long timeout,
47 const char *select, struct menu_item **selected );
49 #endif /* _IPXE_MENU_H */