/* <argdef.h>
 *
 *	OBJFMT -- ARG$ - the argument descriptors
 */
#ifndef _ARGDEF_H
#define _ARGDEF_H

/* passing mechanisms */
#define ARG$C_UNKNOWN	0	/* unspecified or unknown */
#define ARG$C_VALUE	1	/* passed by value */
#define ARG$C_REF	2	/* passed by reference */
#define ARG$C_DESC	3	/* passed by descriptor */
#define ARG$K_SIZE	2
#define ARG$C_SIZE	2
struct argdef {
    union {
	unsigned char arg$b_valctl;	/* validation control byte */
	struct {
	    unsigned arg$v_passmech : 2; /* passing mechanism */
	    unsigned		    : 6;
	} arg$r_valctl_bits;
    } arg$r_valctl_overlay;
    unsigned char arg$b_bytecnt;	/* remaining byte count */
};

#endif	/*_ARGDEF_H*/
