Lines Matching defs:root
343 static int conf_get_by_keys(snd_config_t *root, const char *key1,
349 ret = snd_config_search(root, key1, &root);
354 ret = snd_config_search(root, key2, &root);
356 *result = root;
360 snd_config_t *conf_get_subtree(snd_config_t *root, const char *key1, const char *key2)
364 if (!root)
366 ret = conf_get_by_keys(root, key1, key2, &root);
371 return root;
374 int conf_get_count(snd_config_t *root, const char *key1, const char *key2)
380 if (!root)
382 ret = conf_get_by_keys(root, key1, key2, &cfg);
395 const char *conf_get_string(snd_config_t *root, const char *key1, const char *key2, const char *def)
401 if (!root)
403 ret = conf_get_by_keys(root, key1, key2, &cfg);
413 long conf_get_long(snd_config_t *root, const char *key1, const char *key2, long def)
419 if (!root)
421 ret = conf_get_by_keys(root, key1, key2, &cfg);
431 int conf_get_bool(snd_config_t *root, const char *key1, const char *key2, int def)
436 if (!root)
438 ret = conf_get_by_keys(root, key1, key2, &cfg);
449 void conf_get_string_array(snd_config_t *root, const char *key1, const char *key2,
456 ret = conf_get_by_keys(root, key1, key2, &cfg);