dio_is_bypassed_db_c

	status.i4.v = dio_is_bypassed_db_c(device_index.i4.v, alarm_type.i4.v,
					   bypass_state.i4a.r
					   [,start_block.i4.v]
					   [,max_blocks.i4.v] [,num_blocks.i4.r]
					   [,no_cache.i4.v])

	This routine determines whether or not a device's alarm is
	bypassed in the database.  A returned value of TRUE means
	the device is bypassed.

	device_index	device index of interest
	alarm_type	type of alarm
			(DIO_ANALOG -> analog alarm,
			 DIO_DIGITAL -> digital alarm)
	bypass_state	returned bypass state
			(DIO_ALARM_BYPASSED -> device is bypassed,
			 DIO_ALARM_ENABLED -> device is not bypassed,
			 DIO_INVALID_DATA -> error occurred in reading data)
	[start_block]	starting block to return (starts at 0)
			(default is 0) (maximum is DIO_MAX_ALARM_BLOCKS - 1)
	[max_blocks]	maximum number of blocks to return per device
			(default is 1) (maximum is DIO_MAX_ALARM_BLOCKS)
	[num_blocks]	returned number of blocks returned (default is NULL)
	[no_cache]	database caching flag
			(TRUE -> read data directly from the database,
				 bypassing the DIO cache,
			 FALSE -> read data from the DIO cache if it exists,
				  otherwise cache it (default))

	This function returns ACNET status values as follows:

	OK			success
	otherwise		ACNET format error

	This function requires the following include files:

	cnsparam_h, diolib_h, acnet_errors_h

	Related functions:

	dio_is_bypas(_c), dio_is_byp_lst, dio_get_db_alarm(_c),
	dio_enable(_c), dio_disable(_c), dio_is_good(_c), dio_is_abort(_c),
	dio_is_abrt_inh(_c), dio_alarm_flags(_c), dio_is_broken_c,
	dio_extract_alarm_info_c

	C/C++ usage:

	int	status;
	int	device_index = 14430;
	int	alarm_type = DIO_ANALOG;
	int	bypass_state;
	int	start_block = 0;
	int	max_blocks = 1;
	int	num_blocks;

	status = dio_is_bypassed_db_c(device_index,alarm_type,&bypass_state,
				      start_block,max_blocks,&num_blocks);