root / readline.h @ 376253ec
History | View | Annotate | Download (556 Bytes)
1 |
#ifndef READLINE_H
|
---|---|
2 |
#define READLINE_H
|
3 |
|
4 |
#include "qemu-common.h" |
5 |
|
6 |
typedef void ReadLineFunc(Monitor *mon, const char *str, void *opaque); |
7 |
|
8 |
void readline_add_completion(const char *str); |
9 |
void readline_set_completion_index(int index); |
10 |
void readline_find_completion(const char *cmdline); |
11 |
|
12 |
const char *readline_get_history(unsigned int index); |
13 |
|
14 |
void readline_handle_byte(int ch); |
15 |
|
16 |
void readline_start(const char *prompt, int is_password, |
17 |
ReadLineFunc *readline_func, void *opaque);
|
18 |
void readline_show_prompt(void); |
19 |
|
20 |
#endif /* !READLINE_H */ |