Statistics
| Branch: | Revision:

root / monitor.h @ 376253ec

History | View | Annotate | Download (753 Bytes)

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

    
10
void monitor_init(CharDriverState *chr, int show_banner);
11

    
12
void monitor_suspend(Monitor *mon);
13
void monitor_resume(Monitor *mon);
14

    
15
void monitor_read_bdrv_key_start(Monitor *mon, BlockDriverState *bs,
16
                                 BlockDriverCompletionFunc *completion_cb,
17
                                 void *opaque);
18

    
19
void monitor_vprintf(Monitor *mon, const char *fmt, va_list ap);
20
void monitor_printf(Monitor *mon, const char *fmt, ...)
21
    __attribute__ ((__format__ (__printf__, 2, 3)));
22
void monitor_print_filename(Monitor *mon, const char *filename);
23
void monitor_flush(Monitor *mon);
24

    
25
#endif /* !MONITOR_H */