|
Veritable Lasagna
An Allocator & Data Structure Library for C.
|
#include <dlfcn.h>
Include dependency graph for vl_dynlib_posix.c:Functions | |
| vl_dynlib_result | vlLibraryOpen (const char *name, vl_dynlib *lib) |
| Opens a dynamic library. | |
| vl_dynlib_result | vlLibraryClose (vl_dynlib *lib) |
| Closes a dynamic library. | |
| vl_dynlib_result | vlLibraryProc (vl_dynlib lib, const char *name, void **proc) |
| Gets a procedure address from a dynamic library. | |
| const char * | vlLibraryError (void) |
| Gets the last error message from dynamic loading operations. | |
| vl_dynlib_result vlLibraryClose | ( | vl_dynlib * | lib | ) |
Closes a dynamic library.
| [in,out] | lib | Pointer to the library handle (will be set to NULL after closing) |
| const char * vlLibraryError | ( | void | ) |
Gets the last error message from dynamic loading operations.
| vl_dynlib_result vlLibraryOpen | ( | const char * | name, |
| vl_dynlib * | lib | ||
| ) |
Opens a dynamic library.
| name | Path to the library | |
| [out] | lib | Pointer to store the library handle |
| vl_dynlib_result vlLibraryProc | ( | vl_dynlib | lib, |
| const char * | name, | ||
| void ** | proc | ||
| ) |
Gets a procedure address from a dynamic library.
| lib | Pointer to the library handle | |
| name | Name of the procedure to look up | |
| [out] | proc | Pointer to store the procedure address |