/** DoRev Header ** Do not edit! **
*
* Name             :  defs.h
* Copyright        :  Free Software
* Creation date    :  12-May-93
* Translator       :  SAS/C 6.2
* Compiler opts.   :  See Makefile
*
* Date       Rev  Author               Comment
* ---------  ---  -------------------  ----------------------------------------
* 12-May-93    0  Michael D. Bayne     Global definitions for Blanker
*
*** DoRev End **/

#define BVERSION	"Blanker 2.3"

#define QUIT		0L
#define OK		1L
#define CLOSEWIN	2L
#define EVT_CX_POPUP	1L
#define EVT_CX_BLANK	2L
#define SIG_BREAK	SIGBREAKF_CTRL_C
#define SIG_WINDOW	( BlankerWnd ? ( 1l << BlankerWnd->UserPort->mp_SigBit ) : 0l )
#define SIG_PORT	( 1 << blankerPort->mp_SigBit )
#define DEF_TAGS	RT_Window, BlankerWnd, RT_LockWindow, TRUE, TAG_END

#define BM_BLANK	1
#define BM_PREFS	2
#define BM_INFO		4
#define BM_QUIT		8
#define BM_UNLOAD	16

struct bPrefObject {
	ULONG sMod, sDep, bTimeout;
	UBYTE pKey[256], bKey[256];
	BOOL  resident;
	UBYTE modName[108], modDir[108];
	UBYTE prefData[256];
};

struct bMessage {
	struct Message bMess;
	ULONG	sMod, sDep, bm_Type, bm_Valid;
	UBYTE	*prefData;
};
