mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
qapi: Support unregistering QMP commands
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20160912091913.15831-7-marcandre.lureau@redhat.com>
This commit is contained in:
parent
edcfaefe07
commit
60b03e4e6a
2 changed files with 9 additions and 0 deletions
|
@ -36,6 +36,7 @@ typedef struct QmpCommand
|
|||
|
||||
void qmp_register_command(const char *name, QmpCommandFunc *fn,
|
||||
QmpCommandOptions options);
|
||||
void qmp_unregister_command(const char *name);
|
||||
QmpCommand *qmp_find_command(const char *name);
|
||||
QObject *qmp_dispatch(QObject *request);
|
||||
void qmp_disable_command(const char *name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue