/* Pepito v1.59  -- file: egtbglu.h --
   Copyright (c) 2000-2 Carlos del Cacho

   This program 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, 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.

   You should have received a copy of the GNU General Public License
   along with this program; see the file COPYING.  If not, write to
   the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
   Boston, MA 02111-1307, USA.

   Contact the author: guggenjaimito@yahoo.com
*/

#define NEW
#define XX                   64

#define DEBUG   0

typedef int     square;
typedef long    INDEX;
typedef int     color;
typedef int     piece;

extern          "C" square SqFindKing(square * sq);
extern          "C" square SqFindFirst(square * sq, piece pi);
extern          "C" square SqFindSecond(square * sq, piece pi);
extern          "C" square SqFindThird(square * sq, piece pi);
extern          "C" square SqFindOne(square * sq, piece pi);
