gwenhywfar  4.18.0
Typedefs | Functions
Library Loading Funtions

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_LIBLOADERGWEN_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)
 

Detailed Description

This module allows loading of shared libraries.

This module can be used to load libraries and to lookup symbols inside them.

Author
Martin Preussmarti.nosp@m.n@li.nosp@m.bchip.nosp@m.card.nosp@m..de

Typedef Documentation

◆ GWEN_LIBLOADER

Definition at line 60 of file libloader.h.

Function Documentation

◆ GWEN_LibLoader_CloseLibrary()

GWENHYWFAR_API int GWEN_LibLoader_CloseLibrary ( GWEN_LIBLOADER h)

◆ GWEN_LibLoader_free()

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.

◆ GWEN_LibLoader_new()

GWENHYWFAR_API GWEN_LIBLOADER* GWEN_LibLoader_new ( void  )

◆ GWEN_LibLoader_OpenLibrary()

GWENHYWFAR_API int GWEN_LibLoader_OpenLibrary ( GWEN_LIBLOADER h,
const char *  name 
)

◆ GWEN_LibLoader_OpenLibraryWithPath()

GWENHYWFAR_API int GWEN_LibLoader_OpenLibraryWithPath ( GWEN_LIBLOADER h,
const char *  path,
const char *  name 
)

◆ GWEN_LibLoader_Resolve()

GWENHYWFAR_API int GWEN_LibLoader_Resolve ( GWEN_LIBLOADER h,
const char *  name,
void **  p 
)