summary refs log tree commit diff stats
path: root/include/qemu/readline.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qemu/readline.h')
-rw-r--r--include/qemu/readline.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/qemu/readline.h b/include/qemu/readline.h
index 622aa4564f..b05e4782da 100644
--- a/include/qemu/readline.h
+++ b/include/qemu/readline.h
@@ -44,6 +44,8 @@ typedef struct ReadLineState {
 } ReadLineState;
 
 void readline_add_completion(ReadLineState *rs, const char *str);
+void readline_add_completion_of(ReadLineState *rs,
+                                const char *pfx, const char *str);
 void readline_set_completion_index(ReadLineState *rs, int completion_index);
 
 const char *readline_get_history(ReadLineState *rs, unsigned int index);