summary refs log tree commit diff stats
path: root/include/qapi/qmp/json-streamer.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2018-08-23 18:40:18 +0200
committerMarkus Armbruster <armbru@redhat.com>2018-08-24 20:26:37 +0200
commitabe7c2067c21a89c6fd4cf2d8ba2fa37160d1d55 (patch)
tree9b47fe3f0c5dc56c37c6ba9ef7072ea6d7276706 /include/qapi/qmp/json-streamer.h
parenta2731e08ee8633fcdc2af944b8f8f315678f7669 (diff)
downloadfocaccia-qemu-abe7c2067c21a89c6fd4cf2d8ba2fa37160d1d55.tar.gz
focaccia-qemu-abe7c2067c21a89c6fd4cf2d8ba2fa37160d1d55.zip
json: Make JSONToken opaque outside json-parser.c
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180823164025.12553-52-armbru@redhat.com>
Diffstat (limited to 'include/qapi/qmp/json-streamer.h')
-rw-r--r--include/qapi/qmp/json-streamer.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/qapi/qmp/json-streamer.h b/include/qapi/qmp/json-streamer.h
index d1d7fe2595..29950ac37c 100644
--- a/include/qapi/qmp/json-streamer.h
+++ b/include/qapi/qmp/json-streamer.h
@@ -16,13 +16,6 @@
 
 #include "qapi/qmp/json-lexer.h"
 
-typedef struct JSONToken {
-    int type;
-    int x;
-    int y;
-    char str[];
-} JSONToken;
-
 typedef struct JSONMessageParser
 {
     void (*emit)(void *opaque, QObject *json, Error *err);