4.3BSD/usr/ingres/source/h/pv.h

Compare this file to the similar file:
Show the results in this format:

/*
**  PV.H -- definitions for parameter vectors
**
**	Version:
**		@(#)pv.h	8.1	12/31/84
*/

# ifndef PV_MAXPC


/* setable constants */
# define	PV_MAXPC	125	/* maximum number of parameters */

/* the parameter vector type */
typedef struct
{
	short	pv_type;	/* the type, see below */
	short	pv_len;		/* the length of the value */
	union
	{
		short			pv_int;		/* PV_INT */
		struct querytree	*pv_qtree;	/* PV_QTREE */
		char			*pv_str;	/* PV_STR */
		char			*pv_tuple;	/* PV_TUPLE */
	} pv_val;
}  PARM;

/* pv_type values */
# define	PV_EOF		0	/* end of list */
# define	PV_INT		1	/* integer */
# define	PV_STR		2	/* string */
# define	PV_QTREE	3	/* query tree */
# define	PV_TUPLE	4	/* tuple */


# endif PV_MAXPC