summaryrefslogtreecommitdiffstats
path: root/src/include/readline
diff options
context:
space:
mode:
authorMichael Brown2012-10-25 05:16:15 +0200
committerMichael Brown2012-10-25 05:42:42 +0200
commit4dedccfa1fece8d8e2d6d22c81023817aebd7e2e (patch)
treebd448b2fce7ae26286df576241d6e170464a2d9f /src/include/readline
parent[settings] Add fetchf_named_setting_copy() (diff)
downloadipxe-4dedccfa1fece8d8e2d6d22c81023817aebd7e2e.tar.gz
ipxe-4dedccfa1fece8d8e2d6d22c81023817aebd7e2e.tar.xz
ipxe-4dedccfa1fece8d8e2d6d22c81023817aebd7e2e.zip
[readline] Allow a prefilled input string to be provided
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/readline')
-rw-r--r--src/include/readline/readline.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/readline/readline.h b/src/include/readline/readline.h
index 42dfd8c4..8b159975 100644
--- a/src/include/readline/readline.h
+++ b/src/include/readline/readline.h
@@ -51,6 +51,7 @@ struct readline_history {
extern void history_free ( struct readline_history *history );
extern char * __malloc readline_history ( const char *prompt,
+ const char *prefill,
struct readline_history *history );
extern char * __malloc readline ( const char *prompt );