root / monitor.h @ 3180d772
History | View | Annotate | Download (901 Bytes)
1 | 376253ec | aliguori | #ifndef MONITOR_H
|
---|---|---|---|
2 | 376253ec | aliguori | #define MONITOR_H
|
3 | 376253ec | aliguori | |
4 | 376253ec | aliguori | #include "qemu-common.h" |
5 | 376253ec | aliguori | #include "qemu-char.h" |
6 | 376253ec | aliguori | #include "block.h" |
7 | 376253ec | aliguori | |
8 | 376253ec | aliguori | extern Monitor *cur_mon;
|
9 | 376253ec | aliguori | |
10 | 731b0364 | aliguori | /* flags for monitor_init */
|
11 | 731b0364 | aliguori | #define MONITOR_IS_DEFAULT 0x01 |
12 | cde76ee1 | aliguori | #define MONITOR_USE_READLINE 0x02 |
13 | 731b0364 | aliguori | |
14 | 731b0364 | aliguori | void monitor_init(CharDriverState *chr, int flags); |
15 | 376253ec | aliguori | |
16 | cde76ee1 | aliguori | int monitor_suspend(Monitor *mon);
|
17 | 376253ec | aliguori | void monitor_resume(Monitor *mon);
|
18 | 376253ec | aliguori | |
19 | 376253ec | aliguori | void monitor_read_bdrv_key_start(Monitor *mon, BlockDriverState *bs,
|
20 | 376253ec | aliguori | BlockDriverCompletionFunc *completion_cb, |
21 | 376253ec | aliguori | void *opaque);
|
22 | 376253ec | aliguori | |
23 | 7768e04c | Mark McLoughlin | int monitor_get_fd(Monitor *mon, const char *fdname); |
24 | 7768e04c | Mark McLoughlin | |
25 | 376253ec | aliguori | void monitor_vprintf(Monitor *mon, const char *fmt, va_list ap); |
26 | 376253ec | aliguori | void monitor_printf(Monitor *mon, const char *fmt, ...) |
27 | 376253ec | aliguori | __attribute__ ((__format__ (__printf__, 2, 3))); |
28 | 376253ec | aliguori | void monitor_print_filename(Monitor *mon, const char *filename); |
29 | 376253ec | aliguori | void monitor_flush(Monitor *mon);
|
30 | 376253ec | aliguori | |
31 | 376253ec | aliguori | #endif /* !MONITOR_H */ |