/* <cmbdef.h>
 *
 *	$CREMBX flags bit definitions (V5.5)
 */
#ifndef _CMBDEF_H
#define _CMBDEF_H

#define CMB$V_READONLY	0
#define CMB$V_WRITEONLY 1
#define CMB$M_READONLY	(1<<CMB$V_READONLY)	 /* 0x01 */
#define CMB$M_WRITEONLY (1<<CMB$V_WRITEONLY)	 /* 0x02 */
union cmbdef {
    unsigned long cmb$l_flags;
    struct {
	unsigned cmb$v_readonly  : 1;	/* channel to be assigned read only */
	unsigned cmb$v_writeonly : 1;	/* channel to be assigned write only */
	unsigned		 : 30;
    } cmb$r_cmbdef_bits;
};

#endif	/*_CMBDEF_H*/
