1: /*
   2: **  STATE.H -- definitions for parameter vectors
   3: **
   4: **	Version:
   5: **		@(#)state.h	8.1	12/31/84
   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

Defined macros

ST_EXTERN defined in line 33; used 1 times
ST_LOCAL defined in line 37; never used
ST_REMOT defined in line 38; never used

Usage of this include

Last modified: 1986-04-17
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 838
Valid CSS Valid XHTML 1.0 Strict