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 ()
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 Preuss<martin@libchipcard.de>

Typedef Documentation

Definition at line 60 of file libloader.h.


Function Documentation

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.

Referenced by GWEN_Plugin_free(), GWEN_PluginManager_LoadPlugin(), and GWEN_PluginManager_LoadPluginFile().

GWENHYWFAR_API GWEN_LIBLOADER* GWEN_LibLoader_new (  ) 

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 
)


Generated on Fri Apr 11 01:53:50 2008 for gwenhywfar by  doxygen 1.5.5