Searched refs:QmpCommand (Results 1 – 6 of 6) sorted by relevance
30 typedef struct QmpCommand struct37 QTAILQ_ENTRY(QmpCommand) node; argument40 } QmpCommand; argument42 typedef QTAILQ_HEAD(QmpCommandList, QmpCommand) QmpCommandList;47 const QmpCommand *qmp_find_command(const QmpCommandList *cmds,53 bool qmp_command_is_enabled(const QmpCommand *cmd);54 bool qmp_command_available(const QmpCommand *cmd, Error **errp);55 const char *qmp_command_name(const QmpCommand *cmd);56 bool qmp_has_success_response(const QmpCommand *cmd);62 typedef void (*qmp_cmd_callback_fn)(const QmpCommand *cmd, void *opaque);
22 QmpCommand *cmd = g_malloc0(sizeof(*cmd)); in qmp_register_command()35 const QmpCommand *qmp_find_command(const QmpCommandList *cmds, const char *name) in qmp_find_command()37 QmpCommand *cmd; in qmp_find_command()50 QmpCommand *cmd; in qmp_toggle_command()72 bool qmp_command_is_enabled(const QmpCommand *cmd) in qmp_command_is_enabled()77 const char *qmp_command_name(const QmpCommand *cmd) in qmp_command_name()82 bool qmp_has_success_response(const QmpCommand *cmd) in qmp_has_success_response()90 const QmpCommand *cmd; in qmp_for_each_command()
114 const QmpCommand *cmd;144 const QmpCommand *cmd; in qmp_dispatch()
4 bool qmp_command_available(const QmpCommand *cmd, Error **errp) in qmp_command_available()
108 static void query_commands_cb(const QmpCommand *cmd, void *opaque) in query_commands_cb()
62 static void qmp_command_info(const QmpCommand *cmd, void *opaque) in qmp_command_info()