Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef ACE_OS_INCLUDE_OS_STROPTS_H
00017 #define ACE_OS_INCLUDE_OS_STROPTS_H
00018
00019 #include "ace/pre.h"
00020
00021 #include "ace/config-all.h"
00022
00023 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00024 # pragma once
00025 #endif
00026
00027 #include "ace/os_include/os_unistd.h"
00028
00029 #if defined (ACE_HAS_TIMOD_H)
00030 # include <sys/timod.h>
00031 #elif defined (ACE_HAS_OSF_TIMOD_H)
00032 # include <tli/timod.h>
00033 #endif
00034
00035 #if !defined (ACE_LACKS_SYS_IOCTL_H)
00036 # include <sys/ioctl.h>
00037 #endif
00038
00039 #if defined (ACE_HAS_SYS_FILIO_H)
00040 # include <sys/filio.h>
00041 #endif
00042
00043 #if defined (ACE_HAS_SYS_SOCKIO_H)
00044 # include <sys/sockio.h>
00045 #endif
00046
00047
00048
00049 #if defined (ACE_HAS_STREAMS)
00050 # if defined (AIX)
00051 # if !defined (_XOPEN_EXTENDED_SOURCE)
00052 # define _XOPEN_EXTENDED_SOURCE
00053 # endif
00054 # endif
00055 #endif
00056
00057 #if !defined (ACE_LACKS_STROPTS_H)
00058 # include <stropts.h>
00059 #endif
00060
00061
00062
00063 #if defined (ACE_HAS_STREAMS)
00064 # if defined (AIX)
00065 # undef _XOPEN_EXTENDED_SOURCE
00066 # endif
00067 #endif
00068
00069 #if defined (ACE_VXWORKS)
00070
00071 # include <ioLib.h>
00072 #endif
00073
00074
00075 #ifdef __cplusplus
00076 extern "C"
00077 {
00078 #endif
00079
00080 #if defined (ACE_LACKS_STRRECVFD)
00081 struct strrecvfd {};
00082 #endif
00083
00084 # if !defined (SIOCGIFBRDADDR)
00085 # define SIOCGIFBRDADDR 0
00086 # endif
00087
00088 # if !defined (SIOCGIFADDR)
00089 # define SIOCGIFADDR 0
00090 # endif
00091
00092 # if !defined (ACE_HAS_STRBUF_T)
00093 struct strbuf
00094 {
00095
00096 int maxlen;
00097
00098 int len;
00099
00100 void *buf;
00101 };
00102 # endif
00103
00104
00105 #if !defined (ACE_WIN32) && !defined (ACE_HAS_ISASTREAM_PROTOTYPE)
00106 int isastream (int);
00107 #endif
00108
00109 #ifdef __cplusplus
00110 }
00111 #endif
00112
00113 #include "ace/post.h"
00114 #endif