X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=blobdiff_plain;f=backendz.h;h=8946e6292cb96f0cdf9ae66b5ab3a555f85d442c;hp=3bab93fb102edc24eb4c295fc19bc1b6400ff72e;hb=HEAD;hpb=05bc30b15e31c427ce208495a889e9ff36e6642b diff --git a/backendz.h b/backendz.h index 3bab93f..8946e62 100644 --- a/backendz.h +++ b/backendz.h @@ -1,9 +1,14 @@ /* * backendz.h -- Internal interface exported by XBoard backend.c to zippy.c - * $Id$ * - * Copyright 1991 by Digital Equipment Corporation, Maynard, Massachusetts. - * Enhancements Copyright 1992-95 Free Software Foundation, Inc. + * Copyright 1991 by Digital Equipment Corporation, Maynard, + * Massachusetts. + * + * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006, + * 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Free + * Software Foundation, Inc. + * + * Enhancements Copyright 2005 Alessandro Scotti * * The following terms apply to Digital Equipment Corporation's copyright * interest in XBoard: @@ -27,30 +32,28 @@ * SOFTWARE. * ------------------------------------------------------------------------ * - * The following terms apply to the enhanced version of XBoard distributed - * by the Free Software Foundation: + * The following terms apply to the enhanced version of XBoard + * distributed by the Free Software Foundation: * ------------------------------------------------------------------------ - * This program is free software; you can redistribute it and/or modify + * + * GNU XBoard is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * the Free Software Foundation, either version 3 of the License, or (at + * your option) any later version. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU XBoard is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * ------------------------------------------------------------------------ - */ - -#ifndef _BACKENDZ -#define _BACKENDZ + * along with this program. If not, see http://www.gnu.org/licenses/. * + * + *------------------------------------------------------------------------ + ** See the file ChangeLog for a revision history. */ -#include "common.h" -#include "frontend.h" +#ifndef XB_BACKENDZ +#define XB_BACKENDZ extern long whiteTimeRemaining, blackTimeRemaining; extern int forwardMostMove; @@ -59,6 +62,7 @@ extern ProcRef firstProgramPR; extern int startedFromSetupPosition; extern int firstMove; extern GameInfo gameInfo; +extern void ics_printf P((char *format, ...)); extern void SendToICS P((char *s)); extern int looking_at P((char *, int *, char *)); extern void SendToProgram P((char *message, ChessProgramState *cps));