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>
Showing
- include/qapi/qmp/json-parser.h 29 additions, 7 deletionsinclude/qapi/qmp/json-parser.h
- include/qapi/qmp/json-streamer.h 0 additions, 46 deletionsinclude/qapi/qmp/json-streamer.h
- monitor.c 1 addition, 1 deletionmonitor.c
- qga/main.c 1 addition, 1 deletionqga/main.c
- qobject/json-lexer.c 1 addition, 2 deletionsqobject/json-lexer.c
- qobject/json-parser-int.h 15 additions, 11 deletionsqobject/json-parser-int.h
- qobject/json-parser.c 1 addition, 3 deletionsqobject/json-parser.c
- qobject/json-streamer.c 1 addition, 3 deletionsqobject/json-streamer.c
- qobject/qjson.c 1 addition, 1 deletionqobject/qjson.c
- tests/libqtest.c 1 addition, 1 deletiontests/libqtest.c
include/qapi/qmp/json-streamer.h
deleted
100644 → 0
Please register or sign in to comment