diff options
author | Markus Armbruster <armbru@redhat.com> | 2009-12-07 21:37:16 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-07 16:34:36 -0600 |
commit | 77e595e7c613c495714d04ce63fb9bce263c29ae (patch) | |
tree | 9c2abb8fae39552e97e8bb965961b24be557f1d9 /qerror.h | |
parent | 7cdfcfe18f0a9e8603e4a14770a84eb5649521c5 (diff) |
QMP: add human-readable description to error response
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qerror.h')
-rw-r--r-- | qerror.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -13,6 +13,7 @@ #define QERROR_H #include "qdict.h" +#include "qstring.h" #include <stdarg.h> typedef struct QErrorStringTable { @@ -32,6 +33,7 @@ typedef struct QError { QError *qerror_new(void); QError *qerror_from_info(const char *file, int linenr, const char *func, const char *fmt, va_list *va); +QString *qerror_human(const QError *qerror); void qerror_print(const QError *qerror); QError *qobject_to_qerror(const QObject *obj); |