aboutsummaryrefslogtreecommitdiffstats
path: root/com32/menu/menu.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-02-22 11:16:45 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-02-22 11:16:45 -0800
commit6152d7affa392c8233b527b5800299f0b38246f0 (patch)
treefdf9d85e539e7b7f40181ae7947fcc7ab2eead39 /com32/menu/menu.h
parent44e9cab0e6bc5a7a75d8470e7a4ba41d739f4a37 (diff)
downloadsyslinux.git-6152d7affa392c8233b527b5800299f0b38246f0.tar.gz
syslinux.git-6152d7affa392c8233b527b5800299f0b38246f0.tar.xz
syslinux.git-6152d7affa392c8233b527b5800299f0b38246f0.zip
Allow MENU EXIT to specify a menu tagsyslinux-3.62-pre15
Allow MENU EXIT to "exit" to an arbitrary menu. This is really just a variant of "MENU GOTO", but it allows displaying an exit marker.
Diffstat (limited to 'com32/menu/menu.h')
-rw-r--r--com32/menu/menu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/com32/menu/menu.h b/com32/menu/menu.h
index b1a98a27..b8c28687 100644
--- a/com32/menu/menu.h
+++ b/com32/menu/menu.h
@@ -34,6 +34,8 @@
struct menu;
+/* Note: the _UNRES variants must always be immediately after their
+ "normal" versions. */
enum menu_action {
MA_NONE, /* Undefined value */
MA_CMD, /* Execute a command */
@@ -43,6 +45,7 @@ enum menu_action {
MA_GOTO_UNRES, /* Unresolved go to */
MA_QUIT, /* Quit to CLI */
MA_EXIT, /* Exit to higher-level menu */
+ MA_EXIT_UNRES, /* Unresolved exit */
};
struct menu_entry {