state_condition_met_c

	status.i4.v = state_condition_met_c(state_data.s.r, device_index.i4.v,
					    state_value.u2.v)

	This routine determines if a requested state condition was met.

	state_data	requested state condition information
			(structure of type DATA_EVENT_STATE_DATA)
	device_index	state device index
	state_value	current state value

	This function returns ACNET status values as follows:

	TRUE			state condition met
	FALSE			state condition not met

	This function requires the following include files:

	clib_h, cnsparam_h, cns_data_structs_h, acnet_errors_h

	Related functions:

	states_callback_init, states_telldi

	C/C++ usage:

	unsigned short	state_value = STATE_VALUE;
	int	status;
	int	device_index = STATE_DEVICE_INDEX;
	DATA_EVENT_STATE_DATA	state_data;

	status = state_condition_met_c(&state_data,device_index,state_value);