Sat, 31 Jan 2004 02:02:46 +0000
[gaim-migrate @ 8911]
Daniel Atallah noticed a problem with my changes to the disconnect
account dialog and submitted a patch. I did this instead because
I think it's cleaner, but it might be an iota or three slower. But
really, if you think about it, what's just one little iota when you
sleep for BILLIONS of iotas a DAY?
| 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 | |
| 56 | ||
| 57 | #endif /* end _WGAIMERROR_H */ |