qdev: add creation function that may fail
[qemu/mdroth.git] / json-parser.h
blob97f43f67d44422829e7ad7d9db09b413395a7648
1 /*
2 * JSON Parser
4 * Copyright IBM, Corp. 2009
6 * Authors:
7 * Anthony Liguori <aliguori@us.ibm.com>
9 * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
10 * See the COPYING.LIB file in the top-level directory.
14 #ifndef QEMU_JSON_PARSER_H
15 #define QEMU_JSON_PARSER_H
17 #include "qemu-common.h"
18 #include "qlist.h"
20 QObject *json_parser_parse(QList *tokens, va_list *ap);
22 #endif