VLC 4.0.0-dev
|
Functions | |
char * | vlc_dlerror (void) |
Formats an error message for vlc_dlopen() or vlc_dlsym(). | |
void * | vlc_dlopen (const char *psz_file, bool lazy) |
Loads a dynamically linked library. | |
int | vlc_dlclose (void *handle) |
Unloads a dynamic library. | |
void * | vlc_dlsym (void *handle, const char *psz_function) |
Looks up a symbol from a dynamically loaded library. | |
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 FromLocaleDup.
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 ToLocaleDup, and unlikely.
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 |