monitor: Drop banner hiding (Jan Kiszka)
[qemu/mini2440/sniper_sniper_test.git] / readline.h
blobc5c10d6e3fb1dd89824be3cb297a2254597e7f94
1 #ifndef READLINE_H
2 #define READLINE_H
4 #include "qemu-common.h"
6 typedef void ReadLineFunc(Monitor *mon, const char *str, void *opaque);
8 void readline_add_completion(const char *str);
9 void readline_set_completion_index(int index);
10 void readline_find_completion(const char *cmdline);
12 const char *readline_get_history(unsigned int index);
14 void readline_handle_byte(int ch);
16 void readline_start(const char *prompt, int is_password,
17 ReadLineFunc *readline_func, void *opaque);
18 void readline_show_prompt(void);
20 #endif /* !READLINE_H */