comparison src/win32/wgaimerror.h @ 4130:391fd7aebe7c

[gaim-migrate @ 4348] used to be winerror.h committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Tue, 24 Dec 2002 19:41:04 +0000
parents
children 9657e243d001
comparison
equal deleted inserted replaced
4129:26a18ba4d79f 4130:391fd7aebe7c
1 /*
2 * wgaimerror.h
3 *
4 * Author: Herman Bloggs <hermanator12002@yahoo.com>
5 * Date: October 14, 2002
6 * Description: Redefine Unix Errors
7 */
8
9 #ifndef _WGAIMERROR_H
10 #define _WGAIMERROR_H
11
12 /* Here we define unix socket errors as windows socket errors */
13
14 #define ENETDOWN WSAENETDOWN
15 #define EAFNOSUPPORT WSAEAFNOSUPPORT
16 #define EINPROGRESS WSAEINPROGRESS
17 #define ENOBUFS WSAENOBUFS
18 #define EPROTONOSUPPORT WSAEPROTONOSUPPORT
19 #define EPROTOTYPE WSAEPROTOTYPE
20 #define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT
21
22 #define EADDRINUSE WSAEADDRINUSE
23 #define EINPROGRESS WSAEINPROGRESS
24 #define EALREADY WSAEALREADY
25 #define EADDRNOTAVAIL WSAEADDRNOTAVAIL
26 #define ECONNREFUSED WSAECONNREFUSED
27 #define EISCONN WSAEISCONN
28 #define ENETUNREACH WSAENETUNREACH
29 #define ENOTSOCK WSAENOTSOCK
30 #define ETIMEDOUT WSAETIMEDOUT
31 #define EWOULDBLOCK WSAEWOULDBLOCK
32
33 #define ENOTCONN WSAENOTCONN
34 #define ENETRESET WSAENETRESET
35 #define EOPNOTSUPP WSAEOPNOTSUPP
36 #define ESHUTDOWN WSAESHUTDOWN
37 #define EMSGSIZE WSAEMSGSIZE
38 #define ECONNABORTED WSAECONNABORTED
39 #define ECONNRESET WSAECONNRESET
40
41 #endif /* end _WGAIMERROR_H */