1 /* 2 * wsockerr.h 3 * 4 * Copyright 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Free Software Foundation, Inc. 5 * ------------------------------------------------------------------------ 6 * 7 * GNU XBoard is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or (at 10 * your option) any later version. 11 * 12 * GNU XBoard is distributed in the hope that it will be useful, but 13 * WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program. If not, see http://www.gnu.org/licenses/. * 19 * 20 *------------------------------------------------------------------------ 21 ** See the file ChangeLog for a revision history. */ 22 23 /* Windows sockets error map */ 24 /* These messages ought to be in the Windows message catalog! */ 25 26 typedef struct { 27 int err; 28 char* msg; 29 } ErrorMap; 30 31 extern ErrorMap errmap[]; 32 33