1: /* 2: ** FUNC.H -- declarations for function headers. 3: ** 4: ** Version: 5: ** @(#)func.h 8.1 12/31/84 6: */ 7: 8: 9: /* the function definition struct */ 10: struct fn_def 11: { 12: char *fn_name; /* the name of the function */ 13: int (*fn_fn)(); /* a pointer to the actual function */ 14: int (*fn_initfn)(); /* initialization function */ 15: int (*fn_cleanup)();/* interrupt cleanup function */ 16: char *fn_gptr; /* pointer to global space */ 17: unsigned fn_gsize; /* size of global space */ 18: short *fn_tvect; /* the trace vector itself */ 19: short fn_tsize; /* size of trace vector */ 20: char fn_tflag; /* the trace flag letter */ 21: char fn_active; /* > 0 if active */ 22: }; 23: 24: extern struct fn_def *FuncVect[]; 25: extern int NumFunc; /* the number of functions */