sr_snap_directory_info_c

	status.i4.v = sr_snap_directory_info_c(system.i4.v, device_index.i4.v,
					       start_date.u4.v, end_date.u4.v,
					       num_files.i4.r, dir_data.sp.r
					       [,options.u4.v])

	This routine returns directory information for detached snapshot
	manager data files.

	system		detached snapshot manager category to search for
			(a value of SRMNGR_SNAP_ALL_SYSTEMS will result in
			 a search of all systems)
	device_index	device index of device to search for
			(a value of 0 will result in a search for all devices)
	start_date	starting date
			(UTC seconds since January 1, 1970)
			(a value of 0 will result in no starting date check)
	end_date	ending date
			(UTC seconds since January 1, 1970)
			(a value of 0 will result in no ending date check)
	num_files	returned number of matching files found
	dir_data	returned directory information
			(pointer to an array of structures of type
			 SRMNGR_SNAP_DIR_ENTRY_DATA)
			(Note: If a value of NULL is passed, only the number
			 of files found will be returned.)
			(The data for these structures is allocated by this
			 routine and should be freed by the caller.)
	[options]	directory options (unused)

	This function returns status values as follows:

	OK			success
	DIO_BADARG		invalid system and device index
	DIO_MEMFAIL		dynamic memory allocation failure
	DIO_NO_SUCH		no matching entries found
	otherwise		other ACNET error occurred

	This function requires the following include files:

	cbslib_h, acnet_errors_h

	Related functions:

	sr_snap_date_to_file_info_c, sr_snap_active_devices_c,
	sr_get_snapshot_c, sr_read_snapshot_c, sr_snapshot_header_c,
	sr_snapshot_info_c, sr_snapshot_info_list_c, sr_get_device_c,
	sr_get_device_raw_c, sr_data_length_c, sr_directory_info_c,
	sr_directory_info_by_date_c, sr_set_source_c, sr_file_menu_c,
	sr_category_menu_c, sr_sda_select_directory_c, sr_sda_set_directory_c,
	sr_sda_file_number_c, sr_sda_store_number_c

	C/C++ usage:

	int	status;
	int	system = SRMNGR_SNAP_SYSTEM_LINAC;
	int	device_index = 0;
	int	num_files;
	unsigned int	start_date = 0;
	unsigned int	end_date = 0;
	unsigned int	options = 0;
	SRMNGR_SNAP_DIR_ENTRY_DATA	*dir_data;

	status = sr_snap_directory_info_c(system,device_index,start_date,
					  end_date,&num_files,&dir_data,
					  options);