VLC
3.0.15
|
Functions | |
int | module_Load (vlc_object_t *p_this, const char *psz_file, module_handle_t *p_handle, bool lazy) |
Load a dynamically linked library using a system dependent method. More... | |
void | module_Unload (module_handle_t handle) |
CloseModule: unload a dynamic library. More... | |
void * | module_Lookup (module_handle_t handle, const char *psz_function) |
Looks up a symbol from a dynamically loaded library. More... | |
int module_Load | ( | vlc_object_t * | p_this, |
const char * | psz_file, | ||
module_handle_t * | p_handle, | ||
bool | lazy | ||
) |
Load a dynamically linked library using a system dependent method.
p_this | vlc object |
psz_file | library file |
p_handle | the module handle returned |
References msg_Warn, and ToLocaleDup.
void* module_Lookup | ( | module_handle_t | handle, |
const char * | psz_function | ||
) |
Looks up a symbol from a dynamically loaded library.
This function queries a loaded library for a symbol specified in a string, and returns a pointer to it. We don't check for dlerror() or similar functions, since we want a non-NULL symbol anyway.
handle | handle to the module |
psz_function | function name |
void module_Unload | ( | module_handle_t | handle | ) |
CloseModule: unload a dynamic library.
This function unloads a previously opened dynamically linked library using a system dependent method. No return value is taken in consideration, since some libraries sometimes refuse to close properly.
handle | handle of the library |