27 #define MAXDLERRLEN 80 33 void *segment, *symtab;
36 void *dtors_start, *dtors_end, *dso_handle;
38 void seterror(
const char *fmt, ...);
40 bool relocate(
int fd,
unsigned long offset,
unsigned long size);
44 bool open(
const char *path);
46 void *symbol(
const char *name);
47 void discard_symtab();
49 DLObject(
char *_errbuf = NULL) : errbuf(_errbuf), segment(NULL),symtab(NULL),
50 strtab(NULL), symbol_cnt(0), dtors_start(NULL), dtors_end(NULL) {}
56 void *dlopen(
const char *filename,
int flags);
57 int dlclose(
void *handle);
58 void *dlsym(
void *handle,
const char *symbol);
59 const char *dlerror();
60 void dlforgetsyms(
void *handle);
Definition: dcloader.h:29