3 Copyright 1998, 1999, 2000, 2001 Red Hat, Inc.
5 This file is part of Cygwin.
7 This software is a copyrighted work licensed under the terms of the
8 Cygwin license. Please consult the file "CYGWIN_LICENSE" for
18 /* declarations used for dynamic linking support routines */
19 extern void *dlopen (const char *, int);
20 extern void *dlsym (void *, const char *);
21 extern int dlclose (void *);
22 extern char *dlerror (void);
24 /* specific to CYGWIN */
26 #define FORK_NO_RELOAD 0
28 extern void dlfork (int);
30 /* following doesn't exist in Win32 API .... */
32 /* valid values for mode argument to dlopen */
33 #define RTLD_LAZY 1 /* lazy function call binding */
34 #define RTLD_NOW 2 /* immediate function call binding */
35 #define RTLD_GLOBAL 4 /* symbols in this dlopen'ed obj are visible to other dlopen'ed objs */