/* * @(#)dlfcn.h 1.2 revision of 92/08/16 17:45:11 * This is an unpublished work copyright (c) 1992 Helios Software GmbH * 3000 Hannover 1, Germany */ /* * Mode flags for the dlopen routine. */ #define RTLD_LAZY 1 #define RTLD_NOW 2 /* * To be able to intialize, a library may provide a dl_info structure * that contains functions to be called to initialize and terminate. */ struct dl_info { void (*init)(void); void (*fini)(void); }; #ifdef __STDC__ void *dlopen(const char *path, int mode); void *dlsym(void *handle, const char *symbol); char *dlerror(void); int dlclose(void *handle); #else void *dlopen(); void *dlsym(); char *dlerror(); int dlclose(); #endif