mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
snd_dlopen: implement the relocatable version for glibc
BugLink: https://github.com/alsa-project/alsa-lib/issues/34 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
b2a4272ecb
commit
33089f30a3
3 changed files with 50 additions and 9 deletions
|
|
@ -97,6 +97,7 @@ extern struct snd_dlsym_link *snd_dlsym_start;
|
|||
/** \brief Returns the version of a dynamic symbol as a string. */
|
||||
#define SND_DLSYM_VERSION(version) __STRING(version)
|
||||
|
||||
int snd_dlpath(char *path, size_t path_len, const char *name);
|
||||
void *snd_dlopen(const char *file, int mode, char *errbuf, size_t errbuflen);
|
||||
void *snd_dlsym(void *handle, const char *name, const char *version);
|
||||
int snd_dlclose(void *handle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue