Annotation of 43BSD/contrib/spms/include/pdtyp.h, revision 1.1.1.1

1.1       root        1: /* $Header$ */
                      2: 
                      3: /*
                      4:  * Project directory type label definitions
                      5:  *
                      6:  * Author: Peter J. Nicklin
                      7:  */
                      8: 
                      9: /*
                     10:  * Boolean operation definitions
                     11:  *
                     12:  * Note: Definitions B_ID, B_NOT, B_AND, B_OR, B_LPAREN, B_RPAREN, B_EOS
                     13:  * must not be changed because they are used as indices for the operator
                     14:  * precedence parsing table. B_ID is also used as the default initializer
                     15:  * for the type expression token table.
                     16:  */
                     17: #define B_ID           0               /* boolean expression identifier */
                     18: #define B_NOT          1               /* boolean "not" operation */
                     19: #define B_AND          2               /* boolean "and" operation */
                     20: #define B_OR           3               /* boolean "or" operation */
                     21: #define B_LPAREN       4               /* "(" */
                     22: #define B_RPAREN       5               /* ")" */
                     23: #define B_EOS          6               /* end of boolean string */
                     24: #define B_WHITE                7               /* tab or blank */
                     25: /*
                     26:  * Project directory boolean type expression token struct
                     27:  */
                     28: typedef struct _postfix
                     29:        {
                     30:        short p_class;                  /* type of boolean expression token */
                     31:        short p_sw;                     /* TRUE/FALSE switch */
                     32:        char *p_id;                     /* boolean expression identifier */
                     33:        char *p_label;                  /* project directory type label */
                     34:        } POSTFIX;
                     35: /*
                     36:  * Project directory postfix type expression struct
                     37:  */
                     38: typedef struct _pdtyp
                     39:        {
                     40:        int pfxsize;                    /* size of postfix expression */
                     41:        POSTFIX *pfx;                   /* base of postfix expression */
                     42:        short *eval;                    /* base of expr evaluation stack */
                     43:        } PDTYP;

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.