NULL,
};
-static QemuOptsList *find_list(const char *group)
+QemuOptsList *qemu_find_opts(const char *group)
{
int i;
return -1;
}
- list = find_list(group);
+ list = qemu_find_opts(group);
if (list == NULL) {
return -1;
}
}
if (sscanf(line, "[%63s \"%63[^\"]\"]", group, id) == 2) {
/* group with id */
- list = find_list(group);
+ list = qemu_find_opts(group);
if (list == NULL)
goto out;
opts = qemu_opts_create(list, id, 1);
}
if (sscanf(line, "[%63[^]]]", group) == 1) {
/* group without id */
- list = find_list(group);
+ list = qemu_find_opts(group);
if (list == NULL)
goto out;
opts = qemu_opts_create(list, NULL, 0);
extern QemuOptsList qemu_mon_opts;
extern QemuOptsList qemu_cpudef_opts;
+QemuOptsList *qemu_find_opts(const char *group);
int qemu_set_option(const char *str);
int qemu_global_option(const char *str);
void qemu_add_globals(void);