summaryrefslogtreecommitdiff
path: root/monitor.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-02-11 17:05:43 +0100
committerMarkus Armbruster <armbru@redhat.com>2010-03-16 17:01:08 +0100
commit6620d3ce9ee44c01c7d715322be7879ad3d98c7a (patch)
tree0085d27f5b1fdf3bde7e7eb12eb67721637d39ed /monitor.h
parent036f7166c73a9e0cc1b2f10c03763e61894a1033 (diff)
downloadqemu-6620d3ce9ee44c01c7d715322be7879ad3d98c7a.tar.gz
qemu-6620d3ce9ee44c01c7d715322be7879ad3d98c7a.tar.bz2
qemu-6620d3ce9ee44c01c7d715322be7879ad3d98c7a.zip
monitor: New monitor_cur_is_qmp()
Diffstat (limited to 'monitor.h')
-rw-r--r--monitor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/monitor.h b/monitor.h
index dbb7becba9..bd4ae34d48 100644
--- a/monitor.h
+++ b/monitor.h
@@ -31,6 +31,8 @@ typedef enum MonitorEvent {
QEVENT_MAX,
} MonitorEvent;
+int monitor_cur_is_qmp(void);
+
void monitor_protocol_event(MonitorEvent event, QObject *data);
void monitor_init(CharDriverState *chr, int flags);