Mercurial > pidgin
comparison libpurple/win32/wpurpleerror.h @ 15830:e04c98c1bce9
win32 fixes for s/gaim/purple/ stuff.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Mon, 19 Mar 2007 16:56:26 +0000 |
parents | |
children | 44b4e8bd759b |
comparison
equal
deleted
inserted
replaced
15828:2edbd4fede72 | 15830:e04c98c1bce9 |
---|---|
1 /* | |
2 * purple | |
3 * | |
4 * File: wpurpleerror.h | |
5 * Date: October 14, 2002 | |
6 * Description: Convert Winsock errors to Unix errors | |
7 * | |
8 * Copyright (C) 2002-2003, Herman Bloggs <hermanator12002@yahoo.com> | |
9 * | |
10 * This program is free software; you can redistribute it and/or modify | |
11 * it under the terms of the GNU General Public License as published by | |
12 * the Free Software Foundation; either version 2 of the License, or | |
13 * (at your option) any later version. | |
14 * | |
15 * This program is distributed in the hope that it will be useful, | |
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 * GNU General Public License for more details. | |
19 * | |
20 * You should have received a copy of the GNU General Public License | |
21 * along with this program; if not, write to the Free Software | |
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
23 * | |
24 */ | |
25 #ifndef _WPURPLEERROR_H | |
26 #define _WPURPLEERROR_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 | |
56 #define EHOSTUNREACH WSAEHOSTUNREACH | |
57 | |
58 #endif /* end _WPURPLEERROR_H */ |