4 * Copyright (c) 2007 Ramiro Polla
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
24 /* POSIX says these are implementation-defined.
25 * To simplify use with Windows API, we treat them the same way.
31 #define RTLD_GLOBAL (1 << 1)
32 #define RTLD_LOCAL (1 << 2)
34 /* These two were added in The Open Group Base Specifications Issue 6.
35 * Note: All other RTLD_* flags in any dlfcn.h are not standard compliant.
38 #define RTLD_DEFAULT 0
41 void *dlopen ( const char *file
, int mode
);
42 int dlclose( void *handle
);
43 void *dlsym ( void *handle
, const char *name
);
44 char *dlerror( void );
46 #endif /* DLFCN-WIN32_H */