diff options
| author | Michael Brown | 2021-04-23 13:27:57 +0200 |
|---|---|---|
| committer | Michael Brown | 2021-04-23 13:27:57 +0200 |
| commit | b2501dd1221d7910e7aa896ae8b927bb63b77d3a (patch) | |
| tree | cefdf056fabb0bb4c7a2fd7a007096b65ce10c04 /src/include | |
| parent | [efi] Show ACPI address space descriptor ranges in debug messages (diff) | |
| download | ipxe-b2501dd1221d7910e7aa896ae8b927bb63b77d3a.tar.gz ipxe-b2501dd1221d7910e7aa896ae8b927bb63b77d3a.tar.xz ipxe-b2501dd1221d7910e7aa896ae8b927bb63b77d3a.zip | |
[readline] Add an optional timeout to readline_history()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/readline/readline.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/readline/readline.h b/src/include/readline/readline.h index afafbbdf5..3caf28b47 100644 --- a/src/include/readline/readline.h +++ b/src/include/readline/readline.h @@ -51,7 +51,8 @@ struct readline_history { extern void history_free ( struct readline_history *history ); extern int readline_history ( const char *prompt, const char *prefill, - struct readline_history *history, char **line ); + struct readline_history *history, + unsigned long timeout, char **line ); extern char * __malloc readline ( const char *prompt ); #endif /* _READLINE_H */ |
