/* <agndef.h>
 *
 *	$ASSIGN flags bit definitions (V5.5)
 */
#ifndef _AGNDEF_H
#define _AGNDEF_H

#define AGN$V_READONLY	0
#define AGN$V_WRITEONLY 1
#define AGN$M_READONLY	(1<<AGN$V_READONLY)	/* 0x01 */
#define AGN$M_WRITEONLY (1<<AGN$V_WRITEONLY)	/* 0x02 */
union agndef {
    unsigned long agn$l_flags;
    struct {
	unsigned agn$v_readonly  : 1;	/* channel to be assigned READ ONLY */
	unsigned agn$v_writeonly : 1;	/* channel to be assigned WRITE ONLY */
	unsigned		 : 30;
    } agn$r_agndef_bits;
};

#endif	/*_AGNDEF_H*/
