]> git.proxmox.com Git - mirror_qemu.git/commit - qobject/json-lexer.c
json: Clean up headers
authorMarkus Armbruster <armbru@redhat.com>
Thu, 23 Aug 2018 16:40:20 +0000 (18:40 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 24 Aug 2018 18:26:37 +0000 (20:26 +0200)
commit86cdf9ec8dec2763702cc52fa412d108a5dc9608
tree80f5cade21719e7b4a039138d2d2c2758e288dcb
parent812ce33eadfc419795a5d1c7fe8f487fdfe2188c
json: Clean up headers

The JSON parser has three public headers, json-lexer.h, json-parser.h,
json-streamer.h.  They all contain stuff that is of no interest
outside qobject/json-*.c.

Collect the public interface in include/qapi/qmp/json-parser.h, and
everything else in qobject/json-parser-int.h.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180823164025.12553-54-armbru@redhat.com>
include/qapi/qmp/json-lexer.h [deleted file]
include/qapi/qmp/json-parser.h
include/qapi/qmp/json-streamer.h [deleted file]
monitor.c
qga/main.c
qobject/json-lexer.c
qobject/json-parser-int.h [new file with mode: 0644]
qobject/json-parser.c
qobject/json-streamer.c
qobject/qjson.c
tests/libqtest.c