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...
13 //=============================================================================
15 #ifndef ACE_OS_NS_DLFCN_H
16 # define ACE_OS_NS_DLFCN_H
18 # include /**/ "ace/pre.h"
20 # include "ace/config-all.h"
22 # if !defined (ACE_LACKS_PRAGMA_ONCE)
24 # endif /* ACE_LACKS_PRAGMA_ONCE */
26 #include "ace/os_include/os_dlfcn.h"
27 #include /**/ "ace/ACE_export.h"
29 #if defined (ACE_EXPORT_MACRO)
30 # undef ACE_EXPORT_MACRO
32 #define ACE_EXPORT_MACRO ACE_Export
34 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
38 //@{ @name A set of wrappers for explicit dynamic linking.
39 ACE_NAMESPACE_INLINE_FUNCTION
40 int dlclose (ACE_SHLIB_HANDLE handle
);
42 ACE_NAMESPACE_INLINE_FUNCTION
43 ACE_TCHAR
*dlerror (void);
45 ACE_NAMESPACE_INLINE_FUNCTION
46 ACE_SHLIB_HANDLE
dlopen (const ACE_TCHAR
*filename
,
47 int mode
= ACE_DEFAULT_SHLIB_MODE
);
49 ACE_NAMESPACE_INLINE_FUNCTION
50 void *dlsym (ACE_SHLIB_HANDLE handle
,
51 const ACE_TCHAR
*symbol
);
54 } /* namespace ACE_OS */
56 ACE_END_VERSIONED_NAMESPACE_DECL
58 # if defined (ACE_HAS_INLINED_OSCALLS)
59 # if defined (ACE_INLINE)
61 # endif /* ACE_INLINE */
62 # define ACE_INLINE inline
63 # include "ace/OS_NS_dlfcn.inl"
64 # endif /* ACE_HAS_INLINED_OSCALLS */
66 # include /**/ "ace/post.h"
67 #endif /* ACE_OS_NS_DLFCN_H */