*Backed out changeset 3be01fb200a5

--HG--
branch : trunk
This commit is contained in:
maximius
2009-10-17 15:51:44 -07:00
parent 26b5e033ff
commit e585187b24
2257 changed files with 103863 additions and 761 deletions
+14
View File
@@ -1,4 +1,5 @@
// -*- C++ -*-
//=============================================================================
/**
* @file Flag_Manip.h
@@ -10,36 +11,49 @@
* @author Priyanka Gontla <[email protected]>
*/
//=============================================================================
#ifndef ACE_FLAG_MANIP_H
#define ACE_FLAG_MANIP_H
#include /**/ "ace/pre.h"
#include /**/ "ace/ACE_export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "ace/Global_Macros.h"
#include "ace/os_include/os_fcntl.h" /* For values passed to these methods */
#if defined (ACE_EXPORT_MACRO)
# undef ACE_EXPORT_MACRO
#endif
#define ACE_EXPORT_MACRO ACE_Export
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
namespace ACE
{
// = Set/get/clear various flags related to I/O HANDLE.
/// Set flags associated with @a handle.
extern ACE_Export int set_flags (ACE_HANDLE handle,
int flags);
/// Clear flags associated with @a handle.
extern ACE_Export int clr_flags (ACE_HANDLE handle,
int flags);
/// Return the current setting of flags associated with @a handle.
ACE_NAMESPACE_INLINE_FUNCTION int get_flags (ACE_HANDLE handle);
}
ACE_END_VERSIONED_NAMESPACE_DECL
#if defined (__ACE_INLINE__)
#include "ace/Flag_Manip.inl"
#endif /* __ACE_INLINE__ */
#include /**/ "ace/post.h"
#endif /* ACE_FLAG_MANIP_H */