gwenhywfar
4.10.0beta
|
This module allows loading of shared libraries. More...
Typedefs | |
typedef struct GWEN_LIBLOADER | GWEN_LIBLOADER |
Functions | |
GWENHYWFAR_API int | GWEN_LibLoader_CloseLibrary (GWEN_LIBLOADER *h) |
GWENHYWFAR_API void | GWEN_LibLoader_free (GWEN_LIBLOADER *h) |
GWENHYWFAR_API GWEN_LIBLOADER * | GWEN_LibLoader_new (void) |
GWENHYWFAR_API int | GWEN_LibLoader_OpenLibrary (GWEN_LIBLOADER *h, const char *name) |
GWENHYWFAR_API int | GWEN_LibLoader_OpenLibraryWithPath (GWEN_LIBLOADER *h, const char *path, const char *name) |
GWENHYWFAR_API int | GWEN_LibLoader_Resolve (GWEN_LIBLOADER *h, const char *name, void **p) |
This module allows loading of shared libraries.
This module can be used to load libraries and to lookup symbols inside them.
typedef struct GWEN_LIBLOADER GWEN_LIBLOADER |
Definition at line 60 of file libloader.h.
GWENHYWFAR_API int GWEN_LibLoader_CloseLibrary | ( | GWEN_LIBLOADER * | h | ) |
GWENHYWFAR_API void GWEN_LibLoader_free | ( | GWEN_LIBLOADER * | h | ) |
Frees the libloader. This does NOT automatically unload the library loaded using this loader ! But after freeing the loader you can not resolve more symbols. However, already resolved symbols remain accessible.
GWENHYWFAR_API GWEN_LIBLOADER* GWEN_LibLoader_new | ( | void | ) |
GWENHYWFAR_API int GWEN_LibLoader_OpenLibrary | ( | GWEN_LIBLOADER * | h, |
const char * | name | ||
) |
GWENHYWFAR_API int GWEN_LibLoader_OpenLibraryWithPath | ( | GWEN_LIBLOADER * | h, |
const char * | path, | ||
const char * | name | ||
) |
GWENHYWFAR_API int GWEN_LibLoader_Resolve | ( | GWEN_LIBLOADER * | h, |
const char * | name, | ||
void ** | p | ||
) |