/*****************************************************************************
* Module to trap ctrl-brk/hardware error and handle them gracefully.	     *
* Note the usage of GraphGen.c module is assumed.			     *
*									     *
* Written by:  Gershon Elber			IBM PC Ver 1.0,	Jan. 1989    *
*****************************************************************************/

#ifndef	CTRL-BRK-H
#define CTRL-BRK-H

#ifndef LINE_LEN
#define LINE_LEN 128
#endif

#ifndef TRUE
#define TRUE	-1
#define FALSE	0
#endif  TRUE

#define BIOS_CTRL_BRK	0x1b

#define IGNORE  0			/* Actions to take in hardware error */
#define RETRY   1
#define ABORT   2

/* And finally the prototypes of the external routines: */

extern int WasCtrlBrk;

void SetUpCtrlBrk(void);
void RestoreCtrlBrk(void);
void SetUpHardErr(void);

#endif	CTRL-BRK-H
