3 //=============================================================================
7 * $Id: Flag_Manip.h 80826 2008-03-04 14:51:23Z wotte $
9 * This class includes the functions used for the Flag Manipulation.
11 * @author Priyanka Gontla <pgontla@doc.ece.uci.edu>
13 //=============================================================================
15 #ifndef ACE_FLAG_MANIP_H
16 #define ACE_FLAG_MANIP_H
18 #include /**/ "ace/pre.h"
20 #include /**/ "ace/ACE_export.h"
22 #if !defined (ACE_LACKS_PRAGMA_ONCE)
24 #endif /* ACE_LACKS_PRAGMA_ONCE */
26 #include "ace/Global_Macros.h"
27 #include "ace/os_include/os_fcntl.h" /* For values passed to these methods */
29 #if defined (ACE_EXPORT_MACRO)
30 # undef ACE_EXPORT_MACRO
32 #define ACE_EXPORT_MACRO ACE_Export
34 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
38 // = Set/get/clear various flags related to I/O HANDLE.
39 /// Set flags associated with @a handle.
40 extern ACE_Export
int set_flags (ACE_HANDLE handle
,
43 /// Clear flags associated with @a handle.
44 extern ACE_Export
int clr_flags (ACE_HANDLE handle
,
47 /// Return the current setting of flags associated with @a handle.
48 ACE_NAMESPACE_INLINE_FUNCTION
int get_flags (ACE_HANDLE handle
);
51 ACE_END_VERSIONED_NAMESPACE_DECL
53 #if defined (__ACE_INLINE__)
54 #include "ace/Flag_Manip.inl"
55 #endif /* __ACE_INLINE__ */
57 #include /**/ "ace/post.h"
58 #endif /* ACE_FLAG_MANIP_H */