Couchbase C Client  3.3.11
Asynchronous C Client for Couchbase
wsaerr.h
1 /* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2 /*
3  * Copyright 2012-2020 Couchbase, Inc.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 #ifndef LIBCOUCHBASE_WIN_ERRNO_SOCK_H
18 #define LIBCOUCHBASE_WIN_ERRNO_SOCK_H 1
19 
20 #include <errno.h>
21 
22 #ifndef EWOULDBLOCK
23 #define EWOULDBLOCK WSAEWOULDBLOCK
24 #endif
25 
26 #ifndef EINPROGRESS
27 #define EINPROGRESS WSAEINPROGRESS
28 #endif
29 
30 #ifndef EALREADY
31 #define EALREADY WSAEALREADY
32 #endif
33 
34 #ifndef ENOTSOCK
35 #define ENOTSOCK WSAENOTSOCK
36 #endif
37 
38 #ifndef EDESTADDRREQ
39 #define EDESTADDRREQ WSAEDESTADDRREQ
40 #endif
41 
42 #ifndef EMSGSIZE
43 #define EMSGSIZE WSAEMSGSIZE
44 #endif
45 
46 #ifndef EPROTOTYPE
47 #define EPROTOTYPE WSAEPROTOTYPE
48 #endif
49 
50 #ifndef ENOPROTOOPT
51 #define ENOPROTOOPT WSAENOPROTOOPT
52 #endif
53 
54 #ifndef EPROTONOSUPPORT
55 #define EPROTONOSUPPORT WSAEPROTONOSUPPORT
56 #endif
57 
58 #ifndef ESOCKTNOSUPPORT
59 #define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT
60 #endif
61 
62 #ifndef EOPNOTSUPP
63 #define EOPNOTSUPP WSAEOPNOTSUPP
64 #endif
65 
66 #ifndef ENOPROTOOPT
67 #define ENOPROTOOPT WSAENOPROTOOPT
68 #endif
69 
70 #ifndef EPROTONOSUPPORT
71 #define EPROTONOSUPPORT WSAEPROTONOSUPPORT
72 #endif
73 
74 #ifndef ESOCKTNOSUPPORT
75 #define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT
76 #endif
77 
78 #ifndef EPFNOSUPPORT
79 #define EPFNOSUPPORT WSAEPFNOSUPPORT
80 #endif
81 
82 #ifndef EAFNOSUPPORT
83 #define EAFNOSUPPORT WSAEAFNOSUPPORT
84 #endif
85 
86 #ifndef EADDRINUSE
87 #define EADDRINUSE WSAEADDRINUSE
88 #endif
89 
90 #ifndef EADDRNOTAVAIL
91 #define EADDRNOTAVAIL WSAEADDRNOTAVAIL
92 #endif
93 
94 #ifndef ENETDOWN
95 #define ENETDOWN WSAENETDOWN
96 #endif
97 
98 #ifndef ENETUNREACH
99 #define ENETUNREACH WSAENETUNREACH
100 #endif
101 
102 #ifndef ENETRESET
103 #define ENETRESET WSAENETRESET
104 #endif
105 
106 #ifndef ECONNABORTED
107 #define ECONNABORTED WSAECONNABORTED
108 #endif
109 
110 #ifndef ECONNRESET
111 #define ECONNRESET WSAECONNRESET
112 #endif
113 
114 #ifndef ENOBUFS
115 #define ENOBUFS WSAENOBUFS
116 #endif
117 
118 #ifndef EISCONN
119 #define EISCONN WSAEISCONN
120 #endif
121 
122 #ifndef ENOTCONN
123 #define ENOTCONN WSAENOTCONN
124 #endif
125 
126 #ifndef ESHUTDOWN
127 #define ESHUTDOWN WSAESHUTDOWN
128 #endif
129 
130 #ifndef ETOOMANYREFS
131 #define ETOOMANYREFS WSAETOOMANYREFS
132 #endif
133 
134 #ifndef ETIMEDOUT
135 #define ETIMEDOUT WSAETIMEDOUT
136 #endif
137 
138 #ifndef ECONNREFUSED
139 #define ECONNREFUSED WSAECONNREFUSED
140 #endif
141 
142 #ifndef ELOOP
143 #define ELOOP WSAELOOP
144 #endif
145 
146 /*
147 #ifndef ENAMETOOLONG
148 #define ENAMETOOLONG WSAENAMETOOLONG
149 #endif
150 */
151 
152 #ifndef EHOSTDOWN
153 #define EHOSTDOWN WSAEHOSTDOWN
154 #endif
155 
156 #ifndef EHOSTUNREACH
157 #define EHOSTUNREACH WSAEHOSTUNREACH
158 #endif
159 
160 /*
161 #ifndef ENOTEMPTY
162 #define ENOTEMPTY WSAENOTEMPTY
163 #endif
164 */
165 
166 #ifndef EPROCLIM
167 #define EPROCLIM WSAEPROCLIM
168 #endif
169 
170 #ifndef EUSERS
171 #define EUSERS WSAEUSERS
172 #endif
173 
174 #ifndef EDQUOT
175 #define EDQUOT WSAEDQUOT
176 #endif
177 
178 #ifndef ESTALE
179 #define ESTALE WSAESTALE
180 #endif
181 
182 #ifndef EREMOTE
183 #define EREMOTE WSAEREMOTE
184 #endif
185 
186 #ifndef EPROTO
187 #define EPROTO WSAEPROTONOSUPPORT
188 #endif
189 
190 #ifndef ECANCELED
191 #define ECANCELED WSAECANCELLED
192 #endif
193 
195 #ifndef ENOTSUP
196 #define ENOTSUP -1
197 #endif
198 
199 #endif