|
gwenhywfar 5.12.0
|
#include <gwenhywfar/gwenhywfarapi.h>#include <gwenhywfar/error.h>
Go to the source code of this file.
Macros | |
| #define | GWEN_LIBLOADER_ERROR_COULD_NOT_CLOSE 3 |
| #define | GWEN_LIBLOADER_ERROR_COULD_NOT_LOAD 1 |
| #define | GWEN_LIBLOADER_ERROR_COULD_NOT_RESOLVE 4 |
| #define | GWEN_LIBLOADER_ERROR_NOT_FOUND 5 |
| #define | GWEN_LIBLOADER_ERROR_NOT_OPEN 2 |
| #define | GWEN_LIBLOADER_ERROR_TYPE "LIBLOADER" |
| #define | GWENHYWFAR_LIBLOADER_H "$Id" |
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) |
| #define GWEN_LIBLOADER_ERROR_COULD_NOT_CLOSE 3 |
Definition at line 36 of file libloader.h.
| #define GWEN_LIBLOADER_ERROR_COULD_NOT_LOAD 1 |
Definition at line 34 of file libloader.h.
| #define GWEN_LIBLOADER_ERROR_COULD_NOT_RESOLVE 4 |
Definition at line 37 of file libloader.h.
| #define GWEN_LIBLOADER_ERROR_NOT_FOUND 5 |
Definition at line 38 of file libloader.h.
| #define GWEN_LIBLOADER_ERROR_NOT_OPEN 2 |
Definition at line 35 of file libloader.h.
| #define GWEN_LIBLOADER_ERROR_TYPE "LIBLOADER" |
Definition at line 33 of file libloader.h.
| #define GWENHYWFAR_LIBLOADER_H "$Id" |
Definition at line 31 of file libloader.h.
| typedef struct GWEN_LIBLOADER GWEN_LIBLOADER |
Definition at line 60 of file libloader.h.
| GWENHYWFAR_API int GWEN_LibLoader_CloseLibrary | ( | GWEN_LIBLOADER * | h | ) |
References GWENHYWFAR_API.
Referenced by GWEN_Plugin_free(), GWEN_PluginManager_LoadPlugin(), and GWEN_PluginManager_LoadPluginFile().

| 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.
References GWENHYWFAR_API.
Referenced by _searchAndLoadModule(), GWEN_Plugin_free(), GWEN_PluginManager_LoadPlugin(), and GWEN_PluginManager_LoadPluginFile().

| GWENHYWFAR_API GWEN_LIBLOADER * GWEN_LibLoader_new | ( | void | ) |
References GWENHYWFAR_API.
Referenced by _searchAndLoadModule(), and GWEN_PluginManager_LoadPluginFile().

| GWENHYWFAR_API int GWEN_LibLoader_OpenLibrary | ( | GWEN_LIBLOADER * | h, |
| const char * | name ) |
References GWENHYWFAR_API.
Referenced by GWEN_PluginManager_LoadPluginFile().

| GWENHYWFAR_API int GWEN_LibLoader_OpenLibraryWithPath | ( | GWEN_LIBLOADER * | h, |
| const char * | path, | ||
| const char * | name ) |
References GWENHYWFAR_API.
Referenced by _searchAndLoadModule().

| GWENHYWFAR_API int GWEN_LibLoader_Resolve | ( | GWEN_LIBLOADER * | h, |
| const char * | name, | ||
| void ** | p ) |
Referenced by _createPluginFromLibloader(), and GWEN_PluginManager_LoadPluginFile().
