diff options
| author | Anthony Liguori <aliguori@us.ibm.com> | 2011-06-01 12:14:50 -0500 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-06-07 13:52:10 -0500 |
| commit | ef749d07e717ca38b7d8b525c81d6b04db5f16ed (patch) | |
| tree | 0b36790a3c9532c6b3c6e7815d9300096518fd2b /json-parser.h | |
| parent | d5ec4f27c387c3b3200abb8656343b2519ea3047 (diff) | |
| download | focaccia-qemu-ef749d07e717ca38b7d8b525c81d6b04db5f16ed.tar.gz focaccia-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.h | 2 |
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 |