Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/comis/dlfcn.inc is written in an unsupported language. File is not indexed.

0001 /*
0002 * $Id$
0003 *
0004 * $Log$
0005 * Revision 1.2  1996/12/03 16:36:55  berejnoi
0006 * Mods in csnumb:more then 30 digits in a number
0007 * Mods in cscrexec: for AIX -berok added to solve problem
0008 * with incremental dyn. loading
0009 *
0010 * Revision 1.1  1996/05/13 08:05:25  berejnoi
0011 * Mods for SHL version on IBMRT
0012 *
0013 * Revision 1.1.1.1  1996/02/26 17:16:46  mclareni
0014 * Comis
0015 *
0016 *
0017 *
0018 * dlfcn.inc
0019 */
0020 /*CMZ :  1.18/02 13/04/94  17.40.02  by  Fons Rademakers*/
0021 /*-- Author :    Vladimir Berezhnoi   01/04/94*/
0022 /*
0023  * @(#)dlfcn.h        1.4 revision of 95/04/25  09:36:52
0024  * This is an unpublished work copyright (c) 1992 HELIOS Software GmbH
0025  * 30159 Hannover, Germany
0026  */
0027 
0028 #ifndef __dlfcn_h__
0029 #define __dlfcn_h__
0030 
0031 #ifdef __cplusplus
0032 extern "C" {
0033 #endif
0034 
0035 /*
0036  * Mode flags for the dlopen routine.
0037  */
0038 #define RTLD_LAZY        1        /* lazy function call binding */
0039 #define RTLD_NOW        2        /* immediate function call binding */
0040 #define RTLD_GLOBAL        0x100        /* allow symbols to be global */
0041 
0042 /*
0043  * To be able to intialize, a library may provide a dl_info structure
0044  * that contains functions to be called to initialize and terminate.
0045  */
0046 struct dl_info {
0047         void (*init)(void);
0048         void (*fini)(void);
0049 };
0050 
0051 #if __STDC__ || defined(_IBMR2)
0052 void *dlopen(const char *path, int mode);
0053 void *dlsym(void *handle, const char *symbol);
0054 char *dlerror(void);
0055 int dlclose(void *handle);
0056 #else
0057 void *dlopen();
0058 void *dlsym();
0059 char *dlerror();
0060 int dlclose();
0061 #endif
0062 
0063 #ifdef __cplusplus
0064 }
0065 #endif
0066 
0067 #endif /* __dlfcn_h__ */