lic_type_to_index
return lic_type_to_index(lic_type);
config->values[lic_type_to_index(key)] = p->value;