OSDN Git Service

monitor: Rename HMP command type and tables
authorKevin Wolf <kwolf@redhat.com>
Thu, 13 Jun 2019 15:33:56 +0000 (17:33 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 17 Jun 2019 18:36:56 +0000 (20:36 +0200)
commita0cd5e1c8e7fb1dc882483589fd809ca083a2725
tree81dcb05e14c2ef179a7eb10479599118118f7a24
parent18a8887309db8137632ff71b9abb64f31639c8c6
monitor: Rename HMP command type and tables

This renames the type for HMP monitor commands and the tables holding
the commands to make clear that they are related to HMP and to allow
making them public later:

* mon_cmd_t -> HMPCommand (fixing use of a reserved name, too)
* mon_cmds -> hmp_cmds
* info_cmds -> hmp_info_cmds

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20190613153405.24769-7-kwolf@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[sortcmdlist() cleaned up to make checkpatch.pl happy]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
hmp-commands.hx
monitor.c