opts = NULL;
for (gl = keys; gl; gl = gl->next) {
key = gl->data;
- if (!(srci = sr_drvopt_name_get(key))) {
+ if (!(srci = sr_config_info_name_get(key))) {
g_critical("Unknown option %s", key);
return NULL;
}
NULL) == SR_OK) && hwopts) {
printf("Supported driver options:\n");
for (i = 0; hwopts[i]; i++) {
- if (!(srci = sr_drvopt_get(hwopts[i])))
+ if (!(srci = sr_config_info_get(hwopts[i])))
continue;
printf(" %s\n", srci->id);
}
return;
for (cap = 0; hwcaps[cap]; cap++) {
- if (!(srci = sr_devopt_get(hwcaps[cap])))
+ if (!(srci = sr_config_info_get(hwcaps[cap])))
continue;
if (title) {
g_hash_table_iter_init(&iter, args);
while (g_hash_table_iter_next(&iter, &key, &value)) {
- if (!(srci = sr_devopt_name_get(key))) {
+ if (!(srci = sr_config_info_name_get(key))) {
g_critical("Unknown device option '%s'.", (char *) key);
return SR_ERR;
}