mirror of
https://github.com/ipxe/ipxe
synced 2026-02-06 05:14:13 +03:00
[readline] Add an optional timeout to readline_history()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user