X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.h;h=2c63b765fc8e983dadd3063242a3bee8eb5b8471;hb=98c213ea8fe26d17ee3c0f3dd5a7f91df9f19872;hp=9e1fbb04e97cf079ef2d57b3fb2977fb27f9839b;hpb=05bc30b15e31c427ce208495a889e9ff36e6642b;p=xboard.git diff --git a/backend.h b/backend.h index 9e1fbb0..2c63b76 100644 --- a/backend.h +++ b/backend.h @@ -169,6 +169,27 @@ int ToUpper P((int c)); extern GameInfo gameInfo; +/* ICS vars used with backend.c and zippy.c */ +#define ICS_GENERIC 0 +#define ICS_ICC 1 +#define ICS_FICS 2 +#define ICS_CHESSNET 3 /* not really supported */ +int ics_type; + +/* unsigned int 64 for engine nodes work and display */ +#ifdef WIN32 + /* I don't know the name for this type of other compilers + * If it not work just added here + * Thats for MS Visual Studio + */ + #define u64 unsigned __int64 + #define u64Display "%I64u" +#else + /* GNU gcc */ + #define u64 unsigned long long + #define u64Display "%llu" +#endif + /* pgntags.c prototypes */ @@ -188,7 +209,7 @@ typedef struct _ListGame { unsigned long offset; /* Byte offset of game within file. */ GameInfo gameInfo; /* Note that some entries may be NULL. */ } ListGame; - + extern List gameList; void ClearGameInfo P((GameInfo *)); int GameListBuild P((FILE *));