Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / ace / Flag_Manip.h
blobf9324dd346e2f56ef3e38543066bf57ae17a0dec
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Flag_Manip.h
7 * This class includes the functions used for the Flag Manipulation.
9 * @author Priyanka Gontla <pgontla@doc.ece.uci.edu>
11 //=============================================================================
13 #ifndef ACE_FLAG_MANIP_H
14 #define ACE_FLAG_MANIP_H
16 #include /**/ "ace/pre.h"
18 #include /**/ "ace/ACE_export.h"
20 #if !defined (ACE_LACKS_PRAGMA_ONCE)
21 # pragma once
22 #endif /* ACE_LACKS_PRAGMA_ONCE */
24 #include "ace/Global_Macros.h"
25 #include "ace/os_include/os_fcntl.h" /* For values passed to these methods */
27 #if defined (ACE_EXPORT_MACRO)
28 # undef ACE_EXPORT_MACRO
29 #endif
30 #define ACE_EXPORT_MACRO ACE_Export
32 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
34 namespace ACE
36 // = Set/get/clear various flags related to I/O HANDLE.
37 /// Set flags associated with @a handle.
38 extern ACE_Export int set_flags (ACE_HANDLE handle,
39 int flags);
41 /// Clear flags associated with @a handle.
42 extern ACE_Export int clr_flags (ACE_HANDLE handle,
43 int flags);
45 /// Return the current setting of flags associated with @a handle.
46 ACE_NAMESPACE_INLINE_FUNCTION int get_flags (ACE_HANDLE handle);
49 ACE_END_VERSIONED_NAMESPACE_DECL
51 #if defined (__ACE_INLINE__)
52 #include "ace/Flag_Manip.inl"
53 #endif /* __ACE_INLINE__ */
55 #include /**/ "ace/post.h"
56 #endif /* ACE_FLAG_MANIP_H */