Fri, 11 Mar 2005 13:05:31 +0000
[gaim-migrate @ 12231]
the cipher api that grim has been working on for ages is finally done!! big
congrats and thanks to him!!
lots of modified files in this commit. it builds here.
moved the md5 files to src/protocols/oscar so that it continues to depend
on nothing in gaim. everything else uses the new centralized cipher api.
I'm not sure if src/md5.* needs to be removed or not, so I left it there.
someone let me know or do it directly.
someone check if these need to be added to potfiles.in
and let there be much rejoicing!
| 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 */ |