2010-11-17 23:41:10 +08:00
|
|
|
#ifndef __DLFCN_H_
|
|
|
|
#define __DLFCN_H_
|
|
|
|
|
|
|
|
#define RTLD_LAZY 0x00000
|
|
|
|
#define RTLD_NOW 0x00001
|
|
|
|
|
|
|
|
#define RTLD_LOCAL 0x00000
|
|
|
|
#define RTLD_GLOBAL 0x10000
|
|
|
|
|
|
|
|
#define RTLD_DEFAULT ((void*)1)
|
|
|
|
#define RTLD_NEXT ((void*)2)
|
|
|
|
|
2010-11-18 00:23:23 +08:00
|
|
|
void *dlopen (const char *filename, int flag);
|
|
|
|
const char *dlerror(void);
|
|
|
|
void *dlsym(void *handle, const char *symbol);
|
|
|
|
int dlclose (void *handle);
|
2010-11-22 07:13:20 +08:00
|
|
|
|
|
|
|
#endif
|