VLC 4.0.0-dev
|
Functions | |
void * | vlc_dlopen (const char *path, bool lazy) |
Loads a dynamically linked library. | |
int | vlc_dlclose (void *handle) |
Unloads a dynamic library. | |
void * | vlc_dlsym (void *handle, const char *name) |
Looks up a symbol from a dynamically loaded library. | |
char * | vlc_dlerror (void) |
Formats an error message for vlc_dlopen() or vlc_dlsym(). | |
int vlc_dlclose | ( | void * | handle | ) |
Unloads a dynamic library.
This function unloads a previously opened dynamically linked library using a system dependent method.
handle | handle of the library |
0 | on success |
-1 | on error (none are defined though) |
char * vlc_dlerror | ( | void | ) |
Formats an error message for vlc_dlopen() or vlc_dlsym().
References strdup().
void * vlc_dlopen | ( | const char * | path, |
bool | lazy | ||
) |
Loads a dynamically linked library.
path | library file path |
lazy | whether to resolve the symbols lazily |
References VLC_UNUSED.
void * vlc_dlsym | ( | void * | handle, |
const char * | name | ||
) |
Looks up a symbol from a dynamically loaded library.
This function looks for a named symbol within a loaded library.
handle | handle to the library |
name | function name |
References name.