Removed ACE_HAS_BSTRING, not used
[ACE_TAO.git] / ACE / ace / OS_NS_dlfcn.h
blobb5babec2d41342a5069c2e9ecc51c4afe928be64
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file OS_NS_dlfcn.h
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 * Originally in OS.h.
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)
23 # 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
31 #endif
32 #define ACE_EXPORT_MACRO ACE_Export
34 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
36 namespace ACE_OS {
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);
52 //@}
54 } /* namespace ACE_OS */
56 ACE_END_VERSIONED_NAMESPACE_DECL
58 # if defined (ACE_HAS_INLINED_OSCALLS)
59 # if defined (ACE_INLINE)
60 # undef 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 */