3 //=============================================================================
7 * @author Douglas C. Schmidt <d.schmidt@vanderbilt.edu>
8 * @author Jesper S. M|ller<stophph@diku.dk>
9 * @author and a cast of thousands...
11 //=============================================================================
13 #ifndef ACE_OS_NS_DLFCN_H
14 # define ACE_OS_NS_DLFCN_H
16 # include /**/ "ace/pre.h"
18 # include "ace/config-all.h"
20 # if !defined (ACE_LACKS_PRAGMA_ONCE)
22 # endif /* ACE_LACKS_PRAGMA_ONCE */
24 #include "ace/os_include/os_dlfcn.h"
25 #include /**/ "ace/ACE_export.h"
27 #if defined (ACE_EXPORT_MACRO)
28 # undef ACE_EXPORT_MACRO
30 #define ACE_EXPORT_MACRO ACE_Export
32 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
35 //@{ @name A set of wrappers for explicit dynamic linking.
36 ACE_NAMESPACE_INLINE_FUNCTION
37 int dlclose (ACE_SHLIB_HANDLE handle
);
39 ACE_NAMESPACE_INLINE_FUNCTION
40 ACE_TCHAR
*dlerror ();
42 ACE_NAMESPACE_INLINE_FUNCTION
43 ACE_SHLIB_HANDLE
dlopen (const ACE_TCHAR
*filename
,
44 int mode
= ACE_DEFAULT_SHLIB_MODE
);
46 ACE_NAMESPACE_INLINE_FUNCTION
47 void *dlsym (ACE_SHLIB_HANDLE handle
,
48 const ACE_TCHAR
*symbol
);
51 } /* namespace ACE_OS */
53 ACE_END_VERSIONED_NAMESPACE_DECL
55 # if defined (ACE_HAS_INLINED_OSCALLS)
56 # if defined (ACE_INLINE)
58 # endif /* ACE_INLINE */
59 # define ACE_INLINE inline
60 # include "ace/OS_NS_dlfcn.inl"
61 # endif /* ACE_HAS_INLINED_OSCALLS */
63 # include /**/ "ace/post.h"
64 #endif /* ACE_OS_NS_DLFCN_H */