logger_available_device_dates_c

	status.i4.v = logger_available_device_dates_c(node.u2.v,
						      device_name.i1a.r,
						      sample_spec.g.v
						      [,sample_type.i4.v]
						      [,oldest_date.u4.r]
						      [,oldest_millis.u4.r]
						      [,newest_date.u4.r]
						      [,newest_millis.u4.r]
						      [,options.u4.v])

	This routine returns available dates for a device from a
	specific data logger.

	node		data logger source node
			(constants are in nodedefs))
	device_name	requested device name (can be null terminated)
			(up to LOGGER_DEVICE_NAME_LEN characters)
			(examples: "M:OUTTMP", "T-HA11>2", "T_HA11[2]",
				   "M:OUTTMP,F", "M:OUTTMP,F,2")
	sample_spec	data sample specifier whose type depends on the
			value of the "sample_type" argument  (If a value of
			NULL is passed, this argument is ignored.)
			(LOGGER_SAMPLE_TYPE_DATA_EVENT -> string describing
							  data event,
			 LOGGER_SAMPLE_TYPE_LIST_ID -> integer containing
						       list ID number)
	[sample_type]	type of sample specifier
			(LOGGER_SAMPLE_TYPE_DATA_EVENT -> return data sampled
							  on a particular
							  data event (default),
			 LOGGER_SAMPLE_TYPE_LIST_ID -> return data from a
						       particular list)
	[oldest_date]	returned oldest available date for this device
			(seconds since January 1, 1970 UTC)
			(default is NULL)
	[oldest_millis]	returned oldest available date fractional second
			in milliseconds
			(default is NULL)
	[newest_date]	returned newest available date for this device
			(seconds since January 1, 1970 UTC)
			(default is NULL)
	[newest_millis]	returned newest available date fractional second
			in milliseconds
			(default is NULL)
	[options]	read options
			(LOGGER_OPT_NONE -> no options selected (default))

	This function returns ACNET status values as follows:

	OK			success
	LJ_INVARG		invalid sample type or data event string
	LJ_NO_SUCH		requested data logger does not have the
				requested device/property and data event
	LJ_DVREAD		error reading data logger database
	ACNET_xxx		error in communicating with data logger

	This function requires the following include files:

	nodedefs_h, clib_h, acnet_errors_h

	Related functions:

	logger_available_device_data_entries_c, logger_read_device_by_name_c,
	logger_read_device_c, logger_get_device_c, logger_get_device_by_name_c,
	logger_get_array_device_c, logger_get_device_list_c,
	logger_return_data, logger_setnode, logger_return_names,
	logger_check_alive, logger_restart_lists, logger_shutdown,
	logger_find_device_c, logger_name_to_node,
	logger_set_remaining_memory_limit_c, logger_free_memory,
	logger_get_list_data_events_c, logger_find_lists_by_data_event_c,
	logger_find_devices_by_data_event_c

	C/C++ usage:

	static const char	device_name[] = "M:OUTTMP";
	static const char	sample_spec[] = "p,60000,true";
	unsigned short	node = DCE38;
	int	status;
	int	sample_type = LOGGER_SAMPLE_TYPE_DATA_EVENT;
	unsigned int	oldest_date;
	unsigned int	newest_date;
	unsigned int	options = LOGGER_OPT_NONE;

	status = logger_available_device_dates_c(node,device_name,
						 (void *) sample_spec,
						 sample_type,&oldest_date,
						 &newest_date,options);