1 #define BSIZE 4000 2 #define MOUSE 0 3 #define KBD 1 4 #define HOST 2 5 #define HOST_BLOCKED 1 6 #define KBD_BLOCKED 2 7 8 typedef struct IOEvent { 9 short key; 10 short size; 11 uchar data[BSIZE]; 12 } IOEvent; 13 14