7cf70c2002-10-28Henrik Grubbström (Grubba) /* || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. || $Id: pike_dlfcn.h,v 1.2 2002/10/28 19:51:22 grubba Exp $ */
6dbb152000-12-22Fredrik Hübinette (Hubbe) #ifndef PIKE_DLFCN_H #define PIKE_DLFCN_H #define RTLD_GLOBAL 1 #define RTLD_LAZY 0 /* never */ #define RTLD_NOW 0 /* always */ #ifdef DL_INTERNAL #define DLHANDLE struct DLHandle #else #define DLHANDLE void #endif void *dlsym(DLHANDLE *handle, char *name); const char *dlerror(void);
7cf70c2002-10-28Henrik Grubbström (Grubba) DLHANDLE *dlopen(const char *name, int flags);
6dbb152000-12-22Fredrik Hübinette (Hubbe) int dlclose(DLHANDLE *h); #endif