1 typedef struct History *phist; 2 3 typedef struct History 4 { 5 phist next; 6 long time; 7 char *name; 8 short delay; 9 short rtime; 10 short ptime; 11 char val; 12 char type; 13 } History; 14 15 16 #define H_FIRST 0 17 #define H_FIRST_INP 1 18 #define H_NORM 2 19 #define H_NORM_INP 3 20 #define H_PUNT 4 21 #define H_PEND 5 22 23