aboutsummaryrefslogtreecommitdiff
path: root/qapi/qmp-core.h
diff options
context:
space:
mode:
Diffstat (limited to 'qapi/qmp-core.h')
-rw-r--r--qapi/qmp-core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qapi/qmp-core.h b/qapi/qmp-core.h
index f1c26e4b2e..3cf1781fa4 100644
--- a/qapi/qmp-core.h
+++ b/qapi/qmp-core.h
@@ -31,11 +31,14 @@ 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);
+char **qmp_get_command_list(void);
#endif