#ifndef __DLFCN_LOADED #define __DLFCN_LOADED /**************************************************************************** ** ** - Dynamic linking ** ***************************************************************************** ** ** Header introduced by the X/Open Specification ** ** Definitions in this header file may not be available on all versions of ** OpenVMS. See the DEC C Runtime Library reference manual for specifics. ** ***************************************************************************** ** ** Copyright 2000 Compaq Computer Corporation ** ** Compaq and the Compaq logo Registered in U.S. Patent and Trademark Office. ** ** Confidential computer software. Valid license from Compaq required for ** possession, use or copying. Consistent with FAR 12.211 and 12.212, ** Commercial Computer Software, Computer Software Documentation, and ** Technical Data for Commercial Items are licensed to the U.S. Government ** under vendor's standard commercial license. ** ****************************************************************************** */ #pragma __nostandard #include #ifdef __cplusplus extern "C" { #endif /* ** If the user has used /pointer_size=short or /pointer_size=long, we will ** begin in a 32-bit pointer size context. */ #if __INITIAL_POINTER_SIZE # pragma __pointer_size __save # pragma __pointer_size 32 #endif /* ** Define the mode parameters to the dlopen function */ #define RTLD_LAZY 1 #define RTLD_NOW 2 /* ** Function prototypes */ void *dlopen (const char *pathname, int mode); void *dlsym (void *handle, const char *name); int dlclose (void *handle); char *dlerror (void); /* ** Restore the users pointer context */ #if __INITIAL_POINTER_SIZE # pragma __pointer_size __restore #endif #ifdef __cplusplus } #endif #pragma __standard #endif /* __DLFCN_LOADED */