diff options
Diffstat (limited to 'monitor/monitor-internal.h')
-rw-r--r-- | monitor/monitor-internal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/monitor/monitor-internal.h b/monitor/monitor-internal.h index d859bd3894..10fda7d97c 100644 --- a/monitor/monitor-internal.h +++ b/monitor/monitor-internal.h @@ -159,7 +159,10 @@ extern QemuMutex monitor_lock; extern MonitorList mon_list; extern int mon_refcount; +extern HMPCommand hmp_cmds[]; + void monitor_init_qmp(Chardev *chr, int flags); +void monitor_init_hmp(Chardev *chr, int flags); int monitor_puts(Monitor *mon, const char *str); void monitor_data_init(Monitor *mon, int flags, bool skip_flush, @@ -172,4 +175,9 @@ void qmp_send_response(MonitorQMP *mon, const QDict *rsp); void monitor_data_destroy_qmp(MonitorQMP *mon); void monitor_qmp_bh_dispatcher(void *data); +int get_monitor_def(int64_t *pval, const char *name); +void help_cmd(Monitor *mon, const char *name); +void handle_hmp_command(MonitorHMP *mon, const char *cmdline); +int hmp_compare_cmd(const char *name, const char *list); + #endif |