aboutsummaryrefslogtreecommitdiff
path: root/dep/ACE_wrappers/ace/config-lite.h
diff options
context:
space:
mode:
Diffstat (limited to 'dep/ACE_wrappers/ace/config-lite.h')
-rw-r--r--dep/ACE_wrappers/ace/config-lite.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/dep/ACE_wrappers/ace/config-lite.h b/dep/ACE_wrappers/ace/config-lite.h
index fea774c648a..5af65ccc557 100644
--- a/dep/ACE_wrappers/ace/config-lite.h
+++ b/dep/ACE_wrappers/ace/config-lite.h
@@ -1,4 +1,5 @@
// -*- C++ -*-
+
//==========================================================================
/**
* @file config-lite.h
@@ -14,35 +15,48 @@
* includes added to config-all.h, e.g., OS_main.h.
*/
//==========================================================================
+
#ifndef ACE_CONFIG_LITE_H
#define ACE_CONFIG_LITE_H
+
#include /**/ "ace/pre.h"
+
#include "ace/config-macros.h"
+
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
+
// Empty ACE_OS namespace to help identify compiler errors more
// easily. -- @@ Do we really need this?
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
namespace ACE_OS {}
ACE_END_VERSIONED_NAMESPACE_DECL
+
// ============================================================================
// UNICODE macros (to be added later)
// ============================================================================
+
// Get the unicode (i.e. ACE_TCHAR) defines
# include "ace/ace_wchar.h"
+
// ============================================================================
// at_exit declarations
// ============================================================================
+
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
// Marker for cleanup, used by ACE_Exit_Info.
extern int ace_exit_hook_marker;
+
ACE_END_VERSIONED_NAMESPACE_DECL
+
// For use by <ACE_OS::exit>.
extern "C"
{
typedef void (*ACE_EXIT_HOOK) (void);
}
+
// Signature for registering a cleanup function that is used by the
// ACE_Object_Manager and the ACE_Thread_Manager.
# if defined (ACE_HAS_SIG_C_FUNC)
@@ -52,16 +66,20 @@ typedef void (*ACE_CLEANUP_FUNC)(void *object, void *param) /* throw () */;
# if defined (ACE_HAS_SIG_C_FUNC)
}
# endif /* ACE_HAS_SIG_C_FUNC */
+
// ============================================================================
// log_msg declarations
// ============================================================================
+
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
# if defined (ACE_HAS_WIN32_STRUCTURAL_EXCEPTIONS)
typedef int (*ACE_SEH_EXCEPT_HANDLER)(void *);
// Prototype of win32 structured exception handler functions.
// They are used to get the exception handling expression or
// as exception handlers.
# endif /* ACE_HAS_WIN32_STRUCTURAL_EXCEPTIONS */
+
class ACE_OS_Thread_Descriptor;
class ACE_OS_Log_Msg_Attributes;
typedef void (*ACE_INIT_LOG_MSG_HOOK) (ACE_OS_Log_Msg_Attributes &attr
@@ -72,10 +90,15 @@ typedef void (*ACE_INIT_LOG_MSG_HOOK) (ACE_OS_Log_Msg_Attributes &attr
);
typedef void (*ACE_INHERIT_LOG_MSG_HOOK) (ACE_OS_Thread_Descriptor*,
ACE_OS_Log_Msg_Attributes &);
+
typedef void (*ACE_CLOSE_LOG_MSG_HOOK) (void);
+
typedef void (*ACE_SYNC_LOG_MSG_HOOK) (const ACE_TCHAR *prog_name);
+
typedef ACE_OS_Thread_Descriptor *(*ACE_THR_DESC_LOG_MSG_HOOK) (void);
+
ACE_END_VERSIONED_NAMESPACE_DECL
+
/**
* @deprecated ACE_DECLARE_STL_REVERSE_ITERATORS is a crutch to be
* used until all C++ compiler supported by ACE support
@@ -135,6 +158,8 @@ ACE_END_VERSIONED_NAMESPACE_DECL
typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
#endif /* _MSC_VER && _WIN64 */
+
#include /**/ "ace/post.h"
+
#endif /* ACE_CONFIG_LITE_H */