X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.h;h=7b39f880d9115bb056665adf61efc01253580fd7;hb=acea380c8297962d08281764451837d6936c1a54;hp=41a34dc522d1d8d8513b78eec262d21b5ff90300;hpb=d91dfdc72d9abeb6733b72c9bef81ccee55b9735;p=xboard.git diff --git a/backend.h b/backend.h index 41a34dc..7b39f88 100644 --- a/backend.h +++ b/backend.h @@ -99,6 +99,8 @@ extern int gotPremove; extern GameMode gameMode; +extern int matchMode; +extern int matchGame; extern int pausing, cmailMsgLoaded, flipView, mute; extern char white_holding[], black_holding[]; extern int currentMove, backwardMostMove, forwardMostMove; @@ -171,7 +173,6 @@ void UserAdjudicationEvent P((int result)); void StopObservingEvent P((void)); void StopExaminingEvent P((void)); void PonderNextMoveEvent P((int newState)); -void NewSettingeEvent P((int option, char *command, int value)); void ShowThinkingEvent P(()); void PeriodicUpdatesEvent P((int newState)); void HintEvent P((void)); @@ -188,7 +189,7 @@ void AdjustClock P((Boolean which, int dir)); void DisplayBothClocks P((void)); void EditPositionMenuEvent P((ChessSquare selection, int x, int y)); void DropMenuEvent P((ChessSquare selection, int x, int y)); -int ParseTimeControl P((char *tc, int ti, int mps)); +int ParseTimeControl P((char *tc, float ti, int mps)); void EscapeExpand(char *p, char *q); void ProcessICSInitScript P((FILE * f)); void EditCommentEvent P((void)); @@ -204,7 +205,7 @@ void ExitAnalyzeMode P((void)); void AnalyzeModeEvent P((void)); void AnalyzeFileEvent P((void)); void InitPosition P((int redraw)); -void NewSettingEvent P((int option, char *command, int value)); +void NewSettingEvent P((int option, int *feature, char *command, int value)); void DoEcho P((void)); void DontEcho P((void)); void TidyProgramName P((char *prog, char *host, char *buf)); @@ -230,6 +231,7 @@ char *StrCaseStr P((char *string, char *match)); char *StrSave P((char *s)); char *StrSavePtr P((char *s, char **savePtr)); char *SavePart P((char *)); +char* safeStrCpy P(( char *dst, const char *src, size_t count )); #ifndef _amigados int StrCaseCmp P((char *s1, char *s2));