|
|
1.1 ! root 1: /* ! 2: ** STATE.H -- definitions for parameter vectors ! 3: ** ! 4: ** Version: ! 5: ** @(#)state.h 7.1 2/5/81 ! 6: */ ! 7: ! 8: # ifndef CM_MAXST ! 9: ! 10: ! 11: # define CM_MAXST 40 /* maximum # of states */ ! 12: ! 13: /* the state descriptor type */ ! 14: typedef struct ! 15: { ! 16: char st_stat; /* status bits, see below */ ! 17: char st_type; /* the type, see below */ ! 18: union ! 19: { ! 20: struct /* ST_REMOT */ ! 21: { ! 22: char st_proc; /* the remote process */ ! 23: } st_rem; ! 24: struct /* ST_LOCAL */ ! 25: { ! 26: char st_funcno; /* the function number to call */ ! 27: char st_next; /* the next state */ ! 28: } st_loc; ! 29: } st_v; ! 30: } state_t; ! 31: ! 32: /* bits for st_stat */ ! 33: # define ST_EXTERN 0001 /* can be executed by user */ ! 34: ! 35: /* values for st_type */ ! 36: # define ST_UNDEF 0 /* undefined state */ ! 37: # define ST_LOCAL 1 /* state exists in this proc */ ! 38: # define ST_REMOT 2 /* state exists in another proc */ ! 39: ! 40: ! 41: # endif CM_MAXST
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.