File:  [CSRG BSD Unix] / 43BSD / contrib / spms / include / pdtyp.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:55 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

/* $Header: /var/lib/cvsd/repos/CSRG/43BSD/contrib/spms/include/pdtyp.h,v 1.1.1.1 2018/04/24 16:12:55 root Exp $ */

/*
 * Project directory type label definitions
 *
 * Author: Peter J. Nicklin
 */

/*
 * Boolean operation definitions
 *
 * Note: Definitions B_ID, B_NOT, B_AND, B_OR, B_LPAREN, B_RPAREN, B_EOS
 * must not be changed because they are used as indices for the operator
 * precedence parsing table. B_ID is also used as the default initializer
 * for the type expression token table.
 */
#define B_ID		0		/* boolean expression identifier */
#define B_NOT		1		/* boolean "not" operation */
#define B_AND		2		/* boolean "and" operation */
#define B_OR		3		/* boolean "or" operation */
#define B_LPAREN	4		/* "(" */
#define B_RPAREN	5		/* ")" */
#define B_EOS		6		/* end of boolean string */
#define B_WHITE		7		/* tab or blank */
/*
 * Project directory boolean type expression token struct
 */
typedef struct _postfix
	{
	short p_class;			/* type of boolean expression token */
	short p_sw;			/* TRUE/FALSE switch */
	char *p_id;			/* boolean expression identifier */
	char *p_label;			/* project directory type label */
	} POSTFIX;
/*
 * Project directory postfix type expression struct
 */
typedef struct _pdtyp
	{
	int pfxsize;			/* size of postfix expression */
	POSTFIX *pfx;			/* base of postfix expression */
	short *eval;			/* base of expr evaluation stack */
	} PDTYP;

unix.superglobalmegacorp.com

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