CCAFFEINE  0.8.8
ascDynaLoad.h
00001 /*
00002  *  -----------------------------------------------------------------
00003  *    Copyright 1993 D.I.S. - Universita` di Pavia - Italy
00004  *  -----------------------------------------------------------------
00005  *
00006  *  Permission to  use,  copy,   modify,   distribute  this  software
00007  *  and  its  documentation foar any purpose is hereby granted without
00008  *  fee, provided that the above copyright  notice   appear   in  all
00009  *  copies   and  that both that copyright notice and this permission
00010  *  notice appear in supporting documentation, and that the  name  of
00011  *  D.I.S.   not  be  used  in advertising or publicity pertaining to
00012  *  distribution of the software without specific, written prior per-
00013  *  mission.   D.I.S.  makes no representations about the suitability
00014  *  of this software for any purpose.  It is provided "as is" without
00015  *  express or implied warranty.
00016  *
00017  *  D.I.S. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, IN-
00018  *  CLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
00019  *  NO EVENT SHALL D.I.S.  BE LIABLE FOR  ANY  SPECIAL,  INDIRECT  OR
00020  *  CONSEQUENTIAL  DAMAGES  OR  ANY DAMAGES WHATSOEVER RESULTING FROM
00021  *  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION  OF  CONTRACT,
00022  *  NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNEC-
00023  *  TION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
00024  */
00025 
00026 
00027 
00028 #ifndef __ASCDYNALOAD_H_SEEN__
00029 
00063 #define __ASCDYNALOAD_H_SEEN__
00064 
00070 #ifdef __cplusplus
00071 extern "C" {
00072 #endif /* __cplusplus */
00073 
00074 #define CONST_reminder
00075 
00090 extern int Asc_DynamicLoad(const char *,const char *);
00091 
00130 extern void * CCA_IntrospectLibrary(const char *,const char *, int rtld_local, int rtld_global, int rtld_lazy, int rtld_now, int verbose);
00131 
00138 extern int CCA_LoadPorts(const char *libPathName, int verbose);
00139 
00156 extern int Asc_DynamicUnLoad(const char *);
00157 #define CCA_DynamicUnLoad(lib) Asc_DynamicUnLoad(lib)
00158 
00167 extern void *Asc_DynamicSymbol(const char *, const char *);
00171 #define CCA_DynamicSymbol(lib,sym) Asc_DynamicSymbol(lib,sym)
00172 
00173 #ifdef __cplusplus
00174 }
00175 #endif /* cplusplus */
00176 #endif /* __ASCDYNALOAD_H_SEEN__ */