aboutsummaryrefslogtreecommitdiff
path: root/vnc-tls.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-11-26 22:59:01 -0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-03 09:41:23 -0600
commit5fa737a4792c0aef9cf0588242336eefb0cb8ca8 (patch)
tree561729fe751b0d5c91cf7f98e8e9254ae25c205b /vnc-tls.h
parent956f1a0d838e8045020ff8175e9ac3982b1e8079 (diff)
QMP: Input support
The JSON stream parser is used to do QMP input. When there are enough characters to be parsed it calls Monitor's handle_qmp_command() function to handle the input. This function's job is to check if the input is correct and call the appropriate handler. In other words, it does for QMP what handle_user_command() does for the user protocol. This means that handle_qmp_command() also has to parse the (ugly) "args_type" format to able to get the arguments names and types expected by the handler. The format to input commands in QMP is as follows: { "execute": json-string, "id": json-value, "arguments": json-object } Please, note that this commit also adds "id" support. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'vnc-tls.h')
0 files changed, 0 insertions, 0 deletions