1 /* $Id: dlfcn.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
6 * dynamic linking. Conforming to the Single UNIX(r) Specification
7 * Version 2, System Interface & Headers Issue 5
9 * This file is part of the ReactOS Operating System.
12 * Created by KJK::Hyperion <noog@libero.it>
14 * THIS SOFTWARE IS NOT COPYRIGHTED
16 * This source code is offered for use in the public domain. You may
17 * use, modify or distribute it freely.
19 * This code is distributed in the hope that it will be useful but
20 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
21 * DISCLAMED. This includes but is not limited to warranties of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
25 #ifndef __DLFCN_H_INCLUDED__
26 #define __DLFCN_H_INCLUDED__
33 #define RTLD_LAZY (0x00000000) /* Relocations are performed at an \
34 implementation-dependent time. */
35 #define RTLD_NOW (0x00000001) /* Relocations are performed when \
36 the object is loaded. */
38 #define RTLD_GLOBAL (0x00000010) /* All symbols are available for \
39 relocation processing of other \
41 #define RTLD_LOCAL (0x00000020) /* All symbols are not made available \
42 for relocation processing by other \
45 #define RTLD_NEXT ((void *)(-1))
48 void *dlopen(const char *, int);
49 void *dlsym(void *, const char *);
55 #endif /* __DLFCN_H_INCLUDED__ */