diff options
Diffstat (limited to 'qapi/qmp-core.h')
-rw-r--r-- | qapi/qmp-core.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qapi/qmp-core.h b/qapi/qmp-core.h index f1c26e4..3bb3acb 100644 --- a/qapi/qmp-core.h +++ b/qapi/qmp-core.h @@ -31,11 +31,15 @@ typedef struct QmpCommand QmpCommandType type; QmpCommandFunc *fn; QTAILQ_ENTRY(QmpCommand) node; + bool enabled; } QmpCommand; void qmp_register_command(const char *name, QmpCommandFunc *fn); QmpCommand *qmp_find_command(const char *name); QObject *qmp_dispatch(QObject *request); +void qmp_disable_command(const char *name); +bool qmp_command_is_enabled(const char *name); +char **qmp_get_command_list(void); #endif |