qobject: Drop superfluous includes of qemu-common.h
[qemu/ar7.git] / include / qapi / qmp / json-parser.h
blob55f75954c34c22b0e92514aa7c1214bda8b30bdc
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 "qapi/qmp/json-lexer.h"
19 typedef struct JSONToken JSONToken;
21 JSONToken *json_token(JSONTokenType type, int x, int y, GString *tokstr);
22 QObject *json_parser_parse(GQueue *tokens, va_list *ap, Error **errp);
24 #endif