#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_WIN		( BlankerWnd ? 1L << BlankerWnd->UserPort->mp_SigBit : 0L )
#define SIG_PORT	( blankerPort ? 1L << blankerPort->mp_SigBit : 0L )
#define SIG_TIMER	( timerPort ? 1L << timerPort->mp_SigBit : 0L )
#define SIG_APP		(( blankerAppWin && appWinPort ) ? 1L << appWinPort->mp_SigBit : 0L )
#define BTAGS		( struct TagItem * )tags

#define BM_UNBLANKED	1

#define BM_DOBLANK	11
#define BM_DOPREFS	12
#define BM_DOQUIT	13

#define BS_ASKSCR	0x00000001
#define BS_ASKDEP	0x00000002
#define BS_VALMOD	0x00000004
#define BS_RANDOM	0x00000008
#define BS_NOPRFS	0x00000010

#define EZRQ( str )	rtEZRequest( str, "OK", 0l, ( struct TagItem * )tags )

struct BlankerPrefs {
	ULONG	bp_Priority;
	ULONG	bp_PopUp;
	ULONG	bp_Timeout;
	ULONG	bp_RandTimeout;
	UBYTE	bp_PopKey[128];
	UBYTE	bp_BlankKey[128];
	UBYTE	bp_Dir[128];
	UBYTE	bp_Name[128];
	ULONG	bp_Mode;
	ULONG	bp_Depth;
	ULONG	bp_Flags;
	UBYTE	bp_Data[512];
};

struct RandomPrefs {
	UBYTE			rp_Name[108];
	struct RandomPrefs	*rp_Next;
};

struct RandomPrefsList {
	ULONG			rpl_Number;
	struct RandomPrefs	*rpl_Head;
	struct DateStamp	rpl_Date;
};

struct BlankerMessage {
	struct	Message bm_Mess;
	struct	Task *bm_Task;
	ULONG	bm_Mod;
	ULONG	bm_Dep;
	ULONG	bm_Type;
	UBYTE	*bm_Info;
	UBYTE	*bm_Data;
};
