3 //=============================================================================
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)
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
30 #define ACE_EXPORT_MACRO ACE_Export
32 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
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
,
41 /// Clear flags associated with @a handle.
42 extern ACE_Export
int clr_flags (ACE_HANDLE handle
,
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 */