diff options
author | Markus Armbruster <armbru@redhat.com> | 2010-02-17 10:52:26 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2010-03-16 16:55:05 +0100 |
commit | d6f468337aba7eeeab0c7a772eda7491eb432cca (patch) | |
tree | 452f99d0c5ff5f3529c7a8f48c8f3e1df38791d4 /monitor.h | |
parent | a44264880ef42254edb88f9ec5d6f35e3e84089b (diff) | |
download | qemu-d6f468337aba7eeeab0c7a772eda7491eb432cca.zip qemu-d6f468337aba7eeeab0c7a772eda7491eb432cca.tar.gz qemu-d6f468337aba7eeeab0c7a772eda7491eb432cca.tar.bz2 |
monitor: Factor monitor_set_error() out of qemu_error_internal()
This separates the monitor part from the QError part.
Diffstat (limited to 'monitor.h')
-rw-r--r-- | monitor.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3,6 +3,7 @@ #include "qemu-common.h" #include "qemu-char.h" +#include "qerror.h" #include "qdict.h" #include "block.h" @@ -49,4 +50,6 @@ void monitor_flush(Monitor *mon); typedef void (MonitorCompletion)(void *opaque, QObject *ret_data); +void monitor_set_error(Monitor *mon, QError *qerror); + #endif /* !MONITOR_H */ |