mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00: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:
@ -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);
|
||||
|
Reference in New Issue
Block a user