]> git.proxmox.com Git - qemu.git/blame - readline.h
monitor: Drop banner hiding (Jan Kiszka)
[qemu.git] / readline.h
CommitLineData
376253ec
AL
1#ifndef READLINE_H
2#define READLINE_H
3
4#include "qemu-common.h"
5
6typedef void ReadLineFunc(Monitor *mon, const char *str, void *opaque);
7
8void readline_add_completion(const char *str);
9void readline_set_completion_index(int index);
10void readline_find_completion(const char *cmdline);
11
12const char *readline_get_history(unsigned int index);
13
14void readline_handle_byte(int ch);
15
16void readline_start(const char *prompt, int is_password,
17 ReadLineFunc *readline_func, void *opaque);
18void readline_show_prompt(void);
19
20#endif /* !READLINE_H */