]> Git Repo - qemu.git/blob - migration/qjson.h
migration: move skip_section_footers
[qemu.git] / migration / qjson.h
1 /*
2  * QEMU JSON writer
3  *
4  * Copyright Alexander Graf
5  *
6  * Authors:
7  *  Alexander Graf <[email protected]>
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 #ifndef QEMU_QJSON_H
14 #define QEMU_QJSON_H
15
16 typedef struct QJSON QJSON;
17
18 QJSON *qjson_new(void);
19 void qjson_destroy(QJSON *json);
20 void json_prop_str(QJSON *json, const char *name, const char *str);
21 void json_prop_int(QJSON *json, const char *name, int64_t val);
22 void json_end_array(QJSON *json);
23 void json_start_array(QJSON *json, const char *name);
24 void json_end_object(QJSON *json);
25 void json_start_object(QJSON *json, const char *name);
26 const char *qjson_get_str(QJSON *json);
27 void qjson_finish(QJSON *json);
28
29 #endif /* QEMU_QJSON_H */
This page took 0.024679 seconds and 4 git commands to generate.