Newly lexed winboard/parser.c
[xboard.git] / backend.h
index c2997f4..f86410c 100644 (file)
--- a/backend.h
+++ b/backend.h
@@ -204,12 +204,13 @@ VariantClass StringToVariant P((char *e));
 double u64ToDouble P((u64 value));
 void OutputChatMessage P((int partner, char *mess));
 void EditPositionDone P((Boolean fakeRights));
-
+Boolean GetArgValue P((char *name));
 
 char *StrStr P((char *string, char *match));
 char *StrCaseStr P((char *string, char *match));
 char *StrSave P((char *s));
 char *StrSavePtr P((char *s, char **savePtr));
+char *SavePart P((char *));
 
 #ifndef _amigados
 int StrCaseCmp P((char *s1, char *s2));
@@ -344,6 +345,7 @@ typedef struct _CPS {
     char *optionSettings;
     void *programLogo; /* [HGM] logo: bitmap of the logo                    */
     char *fenOverride; /* [HGM} FRC: force FEN casling & ep fields by hand  */
+    char userError;    /* [HGM] crash: flag to suppress fatal-error messages*/\r
 } ChessProgramState;
 
 extern ChessProgramState first, second;
@@ -369,5 +371,6 @@ extern ChessProgramStats_Move pvInfoList[MAX_MOVES];
 extern int shuffleOpenings;
 extern ChessProgramStats programStats;
 extern int opponentKibitzes; // used by wengineo.c
+extern int errorExitStatus;\r
 
 #endif /* _BACKEND */