diff options
| author | Markus Armbruster <armbru@redhat.com> | 2023-01-24 13:19:21 +0100 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2023-02-04 07:56:54 +0100 |
| commit | 5ec92f2d92709964bd9247346097536c02394b3a (patch) | |
| tree | e411dfb7cf642cb2efa574aa4df7ddf96260b4bf /include/monitor/hmp.h | |
| parent | 52f50b1e9f8fd410d4293a211d549ec61b902728 (diff) | |
| download | focaccia-qemu-5ec92f2d92709964bd9247346097536c02394b3a.tar.gz focaccia-qemu-5ec92f2d92709964bd9247346097536c02394b3a.zip | |
hmp: Rename help_cmd() to hmp_help_cmd(), move declaration to hmp.h
The next commit will move a caller of help_cmd() to a new file. Including monitor/monitor-internal.h there just for help_cmd() feels silly. Better to provide it in monitor/hmp.h suitably renamed. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20230124121946.1139465-8-armbru@redhat.com>
Diffstat (limited to 'include/monitor/hmp.h')
| -rw-r--r-- | include/monitor/hmp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/monitor/hmp.h b/include/monitor/hmp.h index c25bec1863..5a75f4659c 100644 --- a/include/monitor/hmp.h +++ b/include/monitor/hmp.h @@ -18,6 +18,7 @@ #include "qapi/qapi-types-common.h" bool hmp_handle_error(Monitor *mon, Error *err); +void hmp_help_cmd(Monitor *mon, const char *name); void hmp_info_name(Monitor *mon, const QDict *qdict); void hmp_info_version(Monitor *mon, const QDict *qdict); |