diff options
author | Michael Brown <mcb30@ipxe.org> | 2025-02-19 13:12:29 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2025-02-19 13:12:29 +0000 |
commit | e7595fe88d8c32354cd61055cbc9f2e7b3f91ff8 (patch) | |
tree | 20e060dafdbeb99cd97eb4c7aaf0a5a11e78eb8a /src/include/ipxe/dynui.h | |
parent | ccd62005490de907105c92444631a5914500cb32 (diff) | |
download | ipxe-e7595fe88d8c32354cd61055cbc9f2e7b3f91ff8.tar.gz |
[menu] Allow a post-activity timeout to be definedHEADmastercoverity_scan
Allow the "--retimeout" option to be used to specify a timeout value
that will be (re)applied after each keypress activity. This allows
script authors to ensure that a single (potentially accidental)
keypress will not pause the boot process indefinitely.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/dynui.h')
-rw-r--r-- | src/include/ipxe/dynui.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/ipxe/dynui.h b/src/include/ipxe/dynui.h index 67eb8b8f8..f47f5cb36 100644 --- a/src/include/ipxe/dynui.h +++ b/src/include/ipxe/dynui.h @@ -60,7 +60,8 @@ extern struct dynamic_item * dynui_item ( struct dynamic_ui *dynui, extern struct dynamic_item * dynui_shortcut ( struct dynamic_ui *dynui, int key ); extern int show_menu ( struct dynamic_ui *dynui, unsigned long timeout, - const char *select, struct dynamic_item **selected ); + unsigned long retimeout, const char *select, + struct dynamic_item **selected ); extern int show_form ( struct dynamic_ui *dynui ); #endif /* _IPXE_DYNUI_H */ |