Go to the source code of this file.
◆ vl_dynlib_result
| Enumerator |
|---|
| VL_DYNLIB_SUCCESS | |
| VL_DYNLIB_ERROR_OPEN | |
| VL_DYNLIB_ERROR_SYMBOL | |
| VL_DYNLIB_ERROR_INVALID_HANDLE | |
◆ vlLibraryClose()
Closes a dynamic library.
- Parameters
-
| [in,out] | lib | Pointer to the library handle (will be set to NULL after closing) |
- Returns
- Result code indicating success or failure
◆ vlLibraryError()
| const char * vlLibraryError |
( |
void |
| ) |
|
Gets the last error message from dynamic loading operations.
- Returns
- Error message string or NULL if no error
◆ vlLibraryOpen()
Opens a dynamic library.
- Parameters
-
| name | Path to the library |
| [out] | lib | Pointer to store the library handle |
- Returns
- Result code indicating success or failure
◆ vlLibraryProc()
| vl_dynlib_result vlLibraryProc |
( |
vl_dynlib |
lib, |
|
|
const char * |
name, |
|
|
void ** |
proc |
|
) |
| |
Gets a procedure address from a dynamic library.
- Parameters
-
| lib | Pointer to the library handle |
| name | Name of the procedure to look up |
| [out] | proc | Pointer to store the procedure address |
- Returns
- Result code indicating success or failure