|
GEL
0.99
|
#include <config.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <string.h>#include <stdlib.h>#include <unistd.h>#include <assert.h>#include <stdio.h>#include "gel_mem.h"#include <ltdl.h>#include "gel_private.h"#include <gel/gel_elf.h>Macros | |
| #define | TRACE(stat) /*stat*/ |
| #define | DLHANDLE lt_dlhandle |
| #define | DLOPEN(p) lt_dlopen(p) |
| #define | DLSYM(h, i) lt_dlsym(h, i) |
| #define | DLCLOSE(h) lt_dlclose(h) |
Functions | |
| void | gel_load_plugins (gel_platform_t *f, const char *plugpath, int quiet) |
| void | gel_unload_plugins (gel_platform_t *pf) |
Variables | |
| arch_plugin_t | null_plugin_arch |
| sys_plugin_t | null_plugin_sys |
| int | gel_ver = 1 |
| #define DLCLOSE | ( | h | ) | lt_dlclose(h) |
| #define DLHANDLE lt_dlhandle |
| #define DLOPEN | ( | p | ) | lt_dlopen(p) |
| #define DLSYM | ( | h, | |
| i | |||
| ) | lt_dlsym(h, i) |
| #define TRACE | ( | stat | ) | /*stat*/ |
| void gel_load_plugins | ( | gel_platform_t * | f, |
| const char * | plugpath, | ||
| int | quiet | ||
| ) |
Load the plugins required by the current binary.
| f | Platform to fill. |
| plugpath | Path list to find the plugins. |
| quiet | If not 0, doesn't display any warning. |
| void gel_unload_plugins | ( | gel_platform_t * | pf | ) |
Unload the plugins.
| pf | Platform to work on. |
| int gel_ver = 1 |
Current kernel version.
|
extern |
Null plugin for architecture.
|
extern |
Null plugin for architecture.