mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
hmp: Rewrite strlist_from_comma_list() as hmp_split_at_comma()
Use g_strsplit() for the actual splitting. Give external linkage, so the next commit can move one of its users to another source file. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20230124121946.1139465-15-armbru@redhat.com>
This commit is contained in:
parent
52cafcea43
commit
0d79271b57
2 changed files with 11 additions and 17 deletions
|
@ -19,6 +19,7 @@
|
|||
|
||||
bool hmp_handle_error(Monitor *mon, Error *err);
|
||||
void hmp_help_cmd(Monitor *mon, const char *name);
|
||||
strList *hmp_split_at_comma(const char *str);
|
||||
|
||||
void hmp_info_name(Monitor *mon, const QDict *qdict);
|
||||
void hmp_info_version(Monitor *mon, const QDict *qdict);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue