aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/menu.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2012-03-29 00:03:11 +0100
committerMichael Brown <mcb30@ipxe.org>2012-03-29 14:01:55 +0100
commit493f1945314cf74c10ffb77b96667b9f725bc5c4 (patch)
tree9adc26eb6576ca1b591eada7ed5c1b6b30892769 /src/include/ipxe/menu.h
parent0d2fba2887a78b8bc4cd0d7fc6946d001075d92f (diff)
downloadipxe-493f1945314cf74c10ffb77b96667b9f725bc5c4.tar.gz
[menu] Add menu user interface
Inspired-by: Robin Smidsrød <robin@smidsrod.no> Tested-by: Robin Smidsrød <robin@smidsrod.no> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/menu.h')
-rw-r--r--src/include/ipxe/menu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ipxe/menu.h b/src/include/ipxe/menu.h
index 943aa57a9..05bc1d45e 100644
--- a/src/include/ipxe/menu.h
+++ b/src/include/ipxe/menu.h
@@ -43,5 +43,7 @@ extern struct menu_item * add_menu_item ( struct menu *menu, const char *label,
int is_default );
extern void destroy_menu ( struct menu *menu );
extern struct menu * find_menu ( const char *name );
+extern int show_menu ( struct menu *menu, unsigned int timeout_ms,
+ struct menu_item **selected );
#endif /* _IPXE_MENU_H */