Create new (empty) branch for board themes
[xboard.git] / winboard / wsockerr.c
diff --git a/winboard/wsockerr.c b/winboard/wsockerr.c
deleted file mode 100644 (file)
index fad3fe6..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-/*\r
- * wsockerr.c\r
- *\r
- * Copyright 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Free Software Foundation, Inc.\r
- * ------------------------------------------------------------------------\r
- *\r
- * GNU XBoard is free software: you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation, either version 3 of the License, or (at\r
- * your option) any later version.\r
- *\r
- * GNU XBoard is distributed in the hope that it will be useful, but\r
- * WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\r
- * General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with this program. If not, see http://www.gnu.org/licenses/.  *\r
- *\r
- *------------------------------------------------------------------------\r
- ** See the file ChangeLog for a revision history.  */\r
-\r
-/* Windows sockets error map */\r
-/* These messages ought to be in the Windows message catalog! */\r
-\r
-#include <windows.h>\r
-#include <winsock.h>\r
-#include "wsockerr.h"\r
-\r
-ErrorMap errmap[] =\r
-{ {WSAEINTR, "Interrupted system call"},\r
-  {WSAEBADF, "Bad file number"},\r
-  {WSAEACCES, "Permission denied"},\r
-  {WSAEFAULT, "Bad address"},\r
-  {WSAEINVAL, "Invalid argument"},\r
-  {WSAEMFILE, "Too many open files"},\r
-  {WSAEWOULDBLOCK, "Operation would block"},\r
-  {WSAEINPROGRESS, "Operation now in progress"},\r
-  {WSAEALREADY, "Operation already in progress"},\r
-  {WSAENOTSOCK, "Socket operation on non-socket"},\r
-  {WSAEMSGSIZE, "Message too long"},\r
-  {WSAEPROTOTYPE, "Protocol wrong type for socket"},\r
-  {WSAENOPROTOOPT, "Protocol not available"},\r
-  {WSAEPROTONOSUPPORT, "Protocol not supported"},\r
-  {WSAESOCKTNOSUPPORT, "Socket type not supported"},\r
-  {WSAEOPNOTSUPP, "Operation not supported on socket"},\r
-  {WSAEPFNOSUPPORT, "Protocol family not supported"},\r
-  {WSAEAFNOSUPPORT, "Address family not supported by protocol family"},\r
-  {WSAEADDRINUSE, "Address already in use"},\r
-  {WSAEADDRNOTAVAIL, "Can't assign requested address"},\r
-  {WSAENETDOWN, "Network is down"},\r
-  {WSAENETUNREACH, "Network is unreachable"},\r
-  {WSAENETRESET, "Network dropped connection on reset"},\r
-  {WSAECONNABORTED, "Software caused connection abort"},\r
-  {WSAECONNRESET, "Connection reset by peer"},\r
-  {WSAENOBUFS, "No buffer space available"},\r
-  {WSAEISCONN, "Socket is already connected"},\r
-  {WSAENOTCONN, "Socket is not connected"},\r
-  {WSAESHUTDOWN, "Can't send after socket shutdown"},\r
-  {WSAETOOMANYREFS, "Too many references: can't splice"},\r
-  {WSAETIMEDOUT, "Connection timed out"},\r
-  {WSAECONNREFUSED, "Connection refused"},\r
-  {WSAELOOP, "Too many levels of symbolic links"},\r
-  {WSAENAMETOOLONG, "File name too long"},\r
-  {WSAEHOSTDOWN, "Host is down"},\r
-  {WSAEHOSTUNREACH, "No route to host"},\r
-  {WSAENOTEMPTY, "Directory not empty"},\r
-  {WSAEPROCLIM, "Too many processes"},\r
-  {WSAEUSERS, "Too many users"},\r
-  {WSAEDQUOT, "Disc quota exceeded"},\r
-  {WSAESTALE, "Stale NFS file handle"},\r
-  {WSAEREMOTE, "Too many levels of remote in path"},\r
-  {WSAEDISCON, "Undocumented Winsock error code WSAEDISCON"},\r
-  {WSASYSNOTREADY, "Winsock subsystem unusable"},\r
-  {WSAVERNOTSUPPORTED, "Required Winsock version is not supported"},\r
-  {WSANOTINITIALISED, "Winsock not initialized"},\r
-  {WSAHOST_NOT_FOUND, "Host name not found by name server (authoritative)"},\r
-  {WSATRY_AGAIN, "Host name not found by name server (nonauthoritative), or name server failure"},\r
-  {WSANO_RECOVERY, "Nonrecoverable name server error"},\r
-  {WSANO_DATA, "Host name has no address data of required type"},\r
-  {0, NULL}\r
-};\r