GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
typedefs_nt.h
Go to the documentation of this file.
1 // $Id: typedefs_nt.h 3328 2021-10-18 10:54:44Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 /* This file called in typedefs.h defines data types for NT */
15 
16 #ifndef TYPEDEF_NT_H
17 #define TYPEDEF_NT_H
18 
19 #include <errno.h>
20 
21 #ifndef ESOCKTNOSUPPORT
22 #define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT
23 #endif
24 
25 #ifndef ECONNRESET
26 #define ECONNRESET WSAECONNRESET
27 #endif
28 
29 #ifndef ENOTSOCK
30 #define ENOTSOCK WSAENOTSOCK
31 #endif
32 
33 #ifndef EAFNOSUPPORT
34 #define EAFNOSUPPORT WSAEAFNOSUPPORT
35 #endif
36 
37 #ifndef EPROTONOSUPPORT
38 #define EPROTONOSUPPORT WSAEPROTONOSUPPORT
39 #endif
40 
41 #ifndef ENOBUFS
42 #define ENOBUFS WSAENOBUFS
43 #endif
44 
45 #ifndef EISCONN
46 #define EISCONN WSAEISCONN
47 #endif
48 
49 #ifndef ETIMEDOUT
50 #define ETIMEDOUT WSAETIMEDOUT
51 #endif
52 
53 #ifndef ENETUNREACH
54 #define ENETUNREACH WSAENETUNREACH
55 #endif
56 
57 #ifndef EADDRINUSE
58 #define EADDRINUSE WSAEADDRINUSE
59 #endif
60 
61 #ifndef ECONNREFUSED
62 #define ECONNREFUSED WSAECONNREFUSED
63 #endif
64 
65 
66 // these constants not used, but keep them
67 
68 
69 #ifndef EWOULDBLOCK
70 #define EWOULDBLOCK WSAEWOULDBLOCK
71 #endif
72 
73 #ifndef EINPROGRESS
74 #define EINPROGRESS WSAEINPROGRESS
75 #endif
76 
77 #ifndef EALREADY
78 #define EALREADY WSAEALREADY
79 #endif
80 
81 #ifndef EDESTADDRREQ
82 #define EDESTADDRREQ WSAEDESTADDRREQ
83 #endif
84 
85 #ifndef EMSGSIZE
86 #define EMSGSIZE WSAEMSGSIZE
87 #endif
88 
89 #ifndef EPROTOTYPE
90 #define EPROTOTYPE WSAEPROTOTYPE
91 #endif
92 
93 #ifndef ENOPROTOOPT
94 #define ENOPROTOOPT WSAENOPROTOOPT
95 #endif
96 
97 #ifndef EOPNOTSUPP
98 #define EOPNOTSUPP WSAEOPNOTSUPP
99 #endif
100 
101 #ifndef EPFNOSUPPORT
102 #define EPFNOSUPPORT WSAEPFNOSUPPORT
103 #endif
104 
105 #ifndef EADDRNOTAVAIL
106 #define EADDRNOTAVAIL WSAEADDRNOTAVAIL
107 #endif
108 
109 #ifndef ENETDOWN
110 #define ENETDOWN WSAENETDOWN
111 #endif
112 
113 #ifndef ENETRESET
114 #define ENETRESET WSAENETRESET
115 #endif
116 
117 #ifndef ECONNABORTED
118 #define ECONNABORTED WSAECONNABORTED
119 #endif
120 
121 #ifndef ENOTCONN
122 #define ENOTCONN WSAENOTCONN
123 #endif
124 
125 #ifndef ESHUTDOWN
126 #define ESHUTDOWN WSAESHUTDOWN
127 #endif
128 
129 #ifndef ETOOMANYREFS
130 #define ETOOMANYREFS WSAETOOMANYREFS
131 #endif
132 
133 #ifndef ELOOP
134 #define ELOOP WSAELOOP
135 #endif
136 
137 #ifndef ENAMETOOLONG
138 #define ENAMETOOLONG WSAENAMETOOLONG
139 #endif
140 
141 #ifndef EHOSTDOWN
142 #define EHOSTDOWN WSAEHOSTDOWN
143 #endif
144 
145 #ifndef EHOSTUNREACH
146 #define EHOSTUNREACH WSAEHOSTUNREACH
147 #endif
148 
149 #ifndef ENOTEMPTY
150 #define ENOTEMPTY WSAENOTEMPTY
151 #endif
152 
153 #ifndef EPROCLIM
154 #define EPROCLIM WSAEPROCLIM
155 #endif
156 
157 #ifndef EUSERS
158 #define EUSERS WSAEUSERS
159 #endif
160 
161 #ifndef EDQUOT
162 #define EDQUOT WSAEDQUOT
163 #endif
164 
165 #ifndef ESTALE
166 #define ESTALE WSAESTALE
167 #endif
168 
169 #ifndef EREMOTE
170 #define EREMOTE WSAEREMOTE
171 #endif
172 
173 #endif