summaryrefslogtreecommitdiff
path: root/json-parser.h
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-06-01 12:14:50 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-06-07 13:52:10 -0500
commitef749d07e717ca38b7d8b525c81d6b04db5f16ed (patch)
tree0b36790a3c9532c6b3c6e7815d9300096518fd2b /json-parser.h
parentd5ec4f27c387c3b3200abb8656343b2519ea3047 (diff)
downloadqemu-ef749d07e717ca38b7d8b525c81d6b04db5f16ed.tar.gz
qemu-ef749d07e717ca38b7d8b525c81d6b04db5f16ed.tar.bz2
qemu-ef749d07e717ca38b7d8b525c81d6b04db5f16ed.zip
json-parser: propagate error from parser
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'json-parser.h')
-rw-r--r--json-parser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/json-parser.h b/json-parser.h
index 97f43f67d4..8f2b5ec4bc 100644
--- a/json-parser.h
+++ b/json-parser.h
@@ -16,7 +16,9 @@
#include "qemu-common.h"
#include "qlist.h"
+#include "error.h"
QObject *json_parser_parse(QList *tokens, va_list *ap);
+QObject *json_parser_parse_err(QList *tokens, va_list *ap, Error **errp);
#endif