~ubuntu-bugs-auftrags-killer/qemu/proper-error-characters

6688 by aliguori
monitor: Rework API (Jan Kiszka)
1
#ifndef MONITOR_H
2
#define MONITOR_H
3
4
#include "qemu-common.h"
5
#include "qemu-char.h"
6
#include "block.h"
7
8
extern Monitor *cur_mon;
9
6692 by aliguori
monitor: Decouple terminals (Jan Kiszka)
10
/* flags for monitor_init */
11
#define MONITOR_IS_DEFAULT    0x01
12
13
void monitor_init(CharDriverState *chr, int flags);
6688 by aliguori
monitor: Rework API (Jan Kiszka)
14
15
void monitor_suspend(Monitor *mon);
16
void monitor_resume(Monitor *mon);
17
18
void monitor_read_bdrv_key_start(Monitor *mon, BlockDriverState *bs,
19
                                 BlockDriverCompletionFunc *completion_cb,
20
                                 void *opaque);
21
22
void monitor_vprintf(Monitor *mon, const char *fmt, va_list ap);
23
void monitor_printf(Monitor *mon, const char *fmt, ...)
24
    __attribute__ ((__format__ (__printf__, 2, 3)));
25
void monitor_print_filename(Monitor *mon, const char *filename);
26
void monitor_flush(Monitor *mon);
27
28
#endif /* !MONITOR_H */