aboutsummaryrefslogtreecommitdiff
path: root/include/qapi/qmp/json-streamer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qapi/qmp/json-streamer.h')
-rw-r--r--include/qapi/qmp/json-streamer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/qapi/qmp/json-streamer.h b/include/qapi/qmp/json-streamer.h
index cb808cf27d..7922e185a5 100644
--- a/include/qapi/qmp/json-streamer.h
+++ b/include/qapi/qmp/json-streamer.h
@@ -33,6 +33,9 @@ typedef struct JSONMessageParser
uint64_t token_size;
} JSONMessageParser;
+void json_message_process_token(JSONLexer *lexer, GString *input,
+ JSONTokenType type, int x, int y);
+
void json_message_parser_init(JSONMessageParser *parser,
void (*func)(JSONMessageParser *, GQueue *));