int snd_config_get_ctl_iface_ascii(const char *ascii);
int snd_config_get_ctl_iface(snd_config_t *conf);
-int snd_config_refer_load(snd_config_t **dst, char **name,
- snd_config_t *root, snd_config_t *config);
-
#ifdef __cplusplus
}
#endif
/** \} */
+/** helper macro for SND_DLSYM_BUILD_VERSION */
#define __SND_DLSYM_VERSION(name, version) _ ## name ## version
+/** build version for versioned dynamic symbol */
#define SND_DLSYM_BUILD_VERSION(name, version) char __SND_DLSYM_VERSION(name, version)
+/** get version of dynamic symbol as string */
#define SND_DLSYM_VERSION(version) __STRING(version)
int snd_dlsym_verify(void *handle, const char *name, const char *version);
return err;
}
+#ifndef DOC_HIDDEN
+SND_DLSYM_BUILD_VERSION(snd_config_hook_load, SND_CONFIG_DLSYM_VERSION_HOOK);
+#endif
/**
* \brief Load configuration from specified files
* \param root Configuration root node
* \param private_data Private data
* \return zero if success, otherwise a negative error code
*/
-SND_DLSYM_BUILD_VERSION(snd_config_hook_load, SND_CONFIG_DLSYM_VERSION_HOOK);
int snd_config_hook_load(snd_config_t *root, snd_config_t *config, snd_config_t **dst, void *private_data)
{
snd_config_t *n, *res = NULL;
int snd_determine_driver(int card, char **driver);
#endif
+#ifndef DOC_HIDDEN
+SND_DLSYM_BUILD_VERSION(snd_config_hook_load_for_all_cards, SND_CONFIG_DLSYM_VERSION_HOOK);
+#endif
/**
* \brief Load configuration for all present cards
* \param root Configuration root node
* \param private_data Private data
* \return zero if success, otherwise a negative error code
*/
-SND_DLSYM_BUILD_VERSION(snd_config_hook_load_for_all_cards, SND_CONFIG_DLSYM_VERSION_HOOK);
int snd_config_hook_load_for_all_cards(snd_config_t *root, snd_config_t *config, snd_config_t **dst, void *private_data ATTRIBUTE_UNUSED)
{
int card = -1, err;