From 0d79271b5702d27736fd081d8994e857ae8b5db5 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Tue, 24 Jan 2023 13:19:28 +0100 Subject: 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 Message-Id: <20230124121946.1139465-15-armbru@redhat.com> --- include/monitor/hmp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/monitor') diff --git a/include/monitor/hmp.h b/include/monitor/hmp.h index 6fafa7f..d60d130 100644 --- a/include/monitor/hmp.h +++ b/include/monitor/hmp.h @@ -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); -- cgit v1.1