Sun, 15 Apr 2007 02:10:37 +0000
propagate from branch 'im.pidgin.gaim' (head b2836a24d81e7a1bd1d21b3aea8794b094391344)
to branch 'im.pidgin.rlaager.merging.soc-msnp13-to-svn18164' (head 463b4fa9f067b279f843520d95a822adc86a0a1b)
| 4130 | 1 | /* |
|
5913
4d016c00bb36
[gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents:
4130
diff
changeset
|
2 | * gaim |
|
4d016c00bb36
[gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents:
4130
diff
changeset
|
3 | * |
|
4d016c00bb36
[gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents:
4130
diff
changeset
|
4 | * File: wgaimerror.h |
|
4d016c00bb36
[gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents:
4130
diff
changeset
|
5 | * Date: October 14, 2002 |
|
4d016c00bb36
[gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents:
4130
diff
changeset
|
6 | * Description: Convert Winsock errors to Unix errors |
|
4d016c00bb36
[gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents:
4130
diff
changeset
|
7 | * |
|
4d016c00bb36
[gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents:
4130
diff
changeset
|
8 | * Copyright (C) 2002-2003, Herman Bloggs <hermanator12002@yahoo.com> |
| 4130 | 9 | * |
|
5913
4d016c00bb36
[gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents:
4130
diff
changeset
|
10 | * This program is free software; you can redistribute it and/or modify |
|
4d016c00bb36
[gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents:
4130
diff
changeset
|
11 | * it under the terms of the GNU General Public License as published by |
|
4d016c00bb36
[gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents:
4130
diff
changeset
|
12 | * the Free Software Foundation; either version 2 of the License, or |
|
4d016c00bb36
[gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents:
4130
diff
changeset
|
13 | * (at your option) any later version. |
|
4d016c00bb36
[gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents:
4130
diff
changeset
|
14 | * |
|
4d016c00bb36
[gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents:
4130
diff
changeset
|
15 | * This program is distributed in the hope that it will be useful, |
|
4d016c00bb36
[gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents:
4130
diff
changeset
|
16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
4d016c00bb36
[gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents:
4130
diff
changeset
|
17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
4d016c00bb36
[gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents:
4130
diff
changeset
|
18 | * GNU General Public License for more details. |
|
4d016c00bb36
[gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents:
4130
diff
changeset
|
19 | * |
|
4d016c00bb36
[gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents:
4130
diff
changeset
|
20 | * You should have received a copy of the GNU General Public License |
|
4d016c00bb36
[gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents:
4130
diff
changeset
|
21 | * along with this program; if not, write to the Free Software |
|
4d016c00bb36
[gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents:
4130
diff
changeset
|
22 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
4d016c00bb36
[gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents:
4130
diff
changeset
|
23 | * |
| 4130 | 24 | */ |
| 25 | #ifndef _WGAIMERROR_H | |
| 26 | #define _WGAIMERROR_H | |
| 27 | ||
| 28 | /* Here we define unix socket errors as windows socket errors */ | |
| 29 | ||
| 30 | #define ENETDOWN WSAENETDOWN | |
| 31 | #define EAFNOSUPPORT WSAEAFNOSUPPORT | |
| 32 | #define EINPROGRESS WSAEINPROGRESS | |
| 33 | #define ENOBUFS WSAENOBUFS | |
| 34 | #define EPROTONOSUPPORT WSAEPROTONOSUPPORT | |
| 35 | #define EPROTOTYPE WSAEPROTOTYPE | |
| 36 | #define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT | |
| 37 | ||
| 38 | #define EADDRINUSE WSAEADDRINUSE | |
| 39 | #define EINPROGRESS WSAEINPROGRESS | |
| 40 | #define EALREADY WSAEALREADY | |
| 41 | #define EADDRNOTAVAIL WSAEADDRNOTAVAIL | |
| 42 | #define ECONNREFUSED WSAECONNREFUSED | |
| 43 | #define EISCONN WSAEISCONN | |
| 44 | #define ENETUNREACH WSAENETUNREACH | |
| 45 | #define ENOTSOCK WSAENOTSOCK | |
| 46 | #define ETIMEDOUT WSAETIMEDOUT | |
| 47 | #define EWOULDBLOCK WSAEWOULDBLOCK | |
| 48 | ||
| 49 | #define ENOTCONN WSAENOTCONN | |
| 50 | #define ENETRESET WSAENETRESET | |
| 51 | #define EOPNOTSUPP WSAEOPNOTSUPP | |
| 52 | #define ESHUTDOWN WSAESHUTDOWN | |
| 53 | #define EMSGSIZE WSAEMSGSIZE | |
| 54 | #define ECONNABORTED WSAECONNABORTED | |
| 55 | #define ECONNRESET WSAECONNRESET | |
|
13201
8c224ef70efa
[gaim-migrate @ 15563]
Daniel Atallah <datallah@pidgin.im>
parents:
5913
diff
changeset
|
56 | #define EHOSTUNREACH WSAEHOSTUNREACH |
| 4130 | 57 | |
| 58 | #endif /* end _WGAIMERROR_H */ |