status.i4.v = data_event_string_to_type_c(string.i1a.r, event_type.i4.r

	This routine returns the type of a data event string.

	string		data event string to convert
			(up to DATA_EVENT_MAX_LEN characters)
	event_type	returned data event type
			(DATA_EVENT_TYPE_DEFAULT -> default data event,
			 DATA_EVENT_TYPE_ONCE -> once (immediate) request,
			 DATA_EVENT_TYPE_PERIODIC -> periodic request,
			 DATA_EVENT_TYPE_CLOCK -> clock event request,
			 DATA_EVENT_TYPE_STATE -> state transition request,
			 DATA_EVENT_TYPE_SNAPSHOT -> snapshot request,
			 DATA_EVENT_TYPE_FTP -> fast time plot request,
			 DATA_EVENT_TYPE_CLIENT -> client (Lumberjack) event,
			 vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv - extended types
			 DATA_EVENT_TYPE_ALARM -> alarm event,
			 DATA_EVENT_TYPE_TOD -> time of day event,
			 DATA_EVENT_TYPE_SETTING -> device setting event,
			 DATA_EVENT_TYPE_ALARM_BYPASS -> alarm bypass event,
			 DATA_EVENT_TYPE_DBNEWS -> DBNEWS (device database modification) event,
			 DATA_EVENT_TYPE_DATE -> date event)
			(constants are in cns_data_structs)
	[allow_extended] flag indicating whether or not allow extended
			 data event strings
			 (TRUE -> allow extended data event strings
				  (Note: Extended data events are currently
				   only supported by higher level software,
				   not by front ends.),
			  FALSE -> don't allow extended data event strings

	This function returns ACNET status values as follows:

	OK			successful conversion
	CLIB_INVARG		invalid data event string

	This function requires the following include files:

	cbslib_h, cns_data_structs_h, acnet_errors_h

	Related functions:

	string_to_data_event, is_default_data_event_string_c,
	is_oneshot_data_event_string_c, is_periodic_data_event_string_c,
	is_state_data_event_string_c, is_clock_event_data_event_string_c,
	data_event_to_string, build_oneshot_data_event_data,
	numeric_to_ascii(_c), ascii_to_numeric(_c),
	data_event_string_to_ftd, data_event_to_ftd, ftd_to_data_event_c,
	ftd_to_data_event_string_c, is_valid_data_event_string_c,
	clib_sprintf, clib_sscanf, window_display_value_c,
	window_input_value_c, winput(_c), input_array_values_c, array_edit_c

	C/C++ usage:

	static const char	string[] = "e,29,s,1000";
	int	status;
	int	event_type;
	int	allow_extended = FALSE;

	status = data_event_string_to_type_c(string,&event_type,allow_extended);