#ifndef BOOKH_INCLUDED
#define BOOKH_INCLUDED
#include "defs.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
extern int      stm;
extern int      ply;
extern int      pvl[MAXPLY];
extern int      followpv;
extern int      stop_search;
extern sHISTDATA *mhs;
extern sHISTDATA move_history[512];
void            setup (char *);
void            buildepd (char *);
void            display (void);
void            domove (const uMOVE *);
void            gen (void);
void            printmoves (void);
void            unmove (void);
int             full_search (int depth, int alpha, int beta, int ntype, int flags);
int             squies (int alpha, int beta);
void            storeb (int draft, int value);
void            store (int type, int draft, int value, int best_move, int threat);
int             inCheck (int c);
#endif				/* BOOKH_INCLUDED */
