blob: 8f2b5ec4bcb43e4ed012d5621d5c82958b06ec25 [file] [log] [blame]
Anthony Liguori4a5fcab2009-11-11 10:39:23 -06001/*
2 * JSON Parser
3 *
4 * Copyright IBM, Corp. 2009
5 *
6 * Authors:
7 * Anthony Liguori <aliguori@us.ibm.com>
8 *
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.
11 *
12 */
13
14#ifndef QEMU_JSON_PARSER_H
15#define QEMU_JSON_PARSER_H
16
17#include "qemu-common.h"
18#include "qlist.h"
Anthony Liguorief749d02011-06-01 12:14:50 -050019#include "error.h"
Anthony Liguori4a5fcab2009-11-11 10:39:23 -060020
21QObject *json_parser_parse(QList *tokens, va_list *ap);
Anthony Liguorief749d02011-06-01 12:14:50 -050022QObject *json_parser_parse_err(QList *tokens, va_list *ap, Error **errp);
Anthony Liguori4a5fcab2009-11-11 10:39:23 -060023
24#endif