translated a handfull of strings and set the codeset to UTF-8 for the translations.
[xboard.git] / winboard-dm-beta4 / wsockerr.c
1 /* Windows sockets error map */
2 /* These messages ought to be in the Windows message catalog! */
3
4 #include <windows.h>
5 #include <winsock.h>
6 #include "wsockerr.h"
7
8 ErrorMap errmap[] = 
9 { {WSAEINTR, "Interrupted system call"},
10   {WSAEBADF, "Bad file number"},
11   {WSAEACCES, "Permission denied"},
12   {WSAEFAULT, "Bad address"},
13   {WSAEINVAL, "Invalid argument"},
14   {WSAEMFILE, "Too many open files"},
15   {WSAEWOULDBLOCK, "Operation would block"},
16   {WSAEINPROGRESS, "Operation now in progress"},
17   {WSAEALREADY, "Operation already in progress"},
18   {WSAENOTSOCK, "Socket operation on non-socket"},
19   {WSAEMSGSIZE, "Message too long"},
20   {WSAEPROTOTYPE, "Protocol wrong type for socket"},
21   {WSAENOPROTOOPT, "Protocol not available"},
22   {WSAEPROTONOSUPPORT, "Protocol not supported"},
23   {WSAESOCKTNOSUPPORT, "Socket type not supported"},
24   {WSAEOPNOTSUPP, "Operation not supported on socket"},
25   {WSAEPFNOSUPPORT, "Protocol family not supported"},
26   {WSAEAFNOSUPPORT, "Address family not supported by protocol family"},
27   {WSAEADDRINUSE, "Address already in use"},
28   {WSAEADDRNOTAVAIL, "Can't assign requested address"},
29   {WSAENETDOWN, "Network is down"},
30   {WSAENETUNREACH, "Network is unreachable"},
31   {WSAENETRESET, "Network dropped connection on reset"},
32   {WSAECONNABORTED, "Software caused connection abort"},
33   {WSAECONNRESET, "Connection reset by peer"},
34   {WSAENOBUFS, "No buffer space available"},
35   {WSAEISCONN, "Socket is already connected"},
36   {WSAENOTCONN, "Socket is not connected"},
37   {WSAESHUTDOWN, "Can't send after socket shutdown"},
38   {WSAETOOMANYREFS, "Too many references: can't splice"},
39   {WSAETIMEDOUT, "Connection timed out"},
40   {WSAECONNREFUSED, "Connection refused"},
41   {WSAELOOP, "Too many levels of symbolic links"},
42   {WSAENAMETOOLONG, "File name too long"},
43   {WSAEHOSTDOWN, "Host is down"},
44   {WSAEHOSTUNREACH, "No route to host"},
45   {WSAENOTEMPTY, "Directory not empty"},
46   {WSAEPROCLIM, "Too many processes"},
47   {WSAEUSERS, "Too many users"},
48   {WSAEDQUOT, "Disc quota exceeded"},
49   {WSAESTALE, "Stale NFS file handle"},
50   {WSAEREMOTE, "Too many levels of remote in path"},
51   {WSAEDISCON, "Undocumented Winsock error code WSAEDISCON"},
52   {WSASYSNOTREADY, "Winsock subsystem unusable"},
53   {WSAVERNOTSUPPORTED, "Required Winsock version is not supported"},
54   {WSANOTINITIALISED, "Winsock not initialized"},
55   {WSAHOST_NOT_FOUND, "Host name not found by name server (authoritative)"},
56   {WSATRY_AGAIN, "Host name not found by name server (nonauthoritative), or name server failure"},
57   {WSANO_RECOVERY, "Nonrecoverable name server error"},
58   {WSANO_DATA, "Host name has no address data of required type"},
59   {0, NULL}
60 };