/* * DataExch.h */ #define outputWaitingTime 100 #define inputWaitingTime 100 #define MAXHDRS 32 #define BUFSIZE 31096 #define FSBACKDOOR 0x4800 #define ZONESIZE 0x7C00 #define MSGSIZE 1024 typedef void ActionProc(); /* char *chars; */ /* unsigned len; */ /* unsigned type; */ /* unsigned data1; */ /* unsigned data2; */ typedef unsigned Block; typedef unsigned Header; typedef struct { Block b; unsigned size; unsigned type; unsigned data1; unsigned data2; } HeaderRec; typedef struct { Header lastWrittenPacket; Header lastRedPacket; HeaderRec (headers[MAXHDRS]); char (buffer[BUFSIZE]); } IOZoneRec; typedef IOZoneRec (*IOZone); struct { ActionProc *a; int t; } registration[32]; #define QUIT 0