logger_get_logged_devices_c

	status.i4.v = logger_get_logged_devices_c(node.i4.v, list.i4.v,
						  num_devices.u4.r,
						  devices.sp.r [,sublist.i4.v])

	This routine returns which devices are being datalogged.

	node		requested Lumberjack node
			(Note: Passing a value of LOGGER_ANY_NODE results in
			 returning devices from all nodes.)
	list		requested list number (starts at 0)
			(Note: Passing a value of LOGGER_ALL_LISTS results in
			 returning data for all lists.)
	num_devices	returned number of devices found
	devices		returned device information
			(array of ARRAY_DEVICE_DATA_EXT structures)
			(Note: This is a pointer to a buffer allocated by
			 this routine. The caller should neither allocate
			 nor free this buffer.)
	[sublist]	requested sublist number (starts at 0)
			(default is LOGGER_ALL_SUBLISTS which results in all
			 sublists being returned)

	This function returns ACNET status values as follows:

	OK			success
	LJ_INVARG		invalid list or sublist requested
	LJ_MEMFAIL		dynamic memory allocation failure
	SQL_xxx			error in communicating with Database

	This function requires the following include files:

	cnsparam_h, cns_data_structs_h, clib_h, acnet_errors_h

	Related functions:

	logger_devices_from_node_c, logger_find_device_c, logger_get_device_c,
	logger_get_device_by_name_c, logger_get_device_list_c,
	logger_return_data, logger_setnode, logger_return_names,
	logger_check_alive, logger_restart_lists, logger_shutdown,
	logger_name_to_node, logger_node_to_name_c,
	logger_available_device_dates_c, logger_available_device_data_entries_c,
	logger_get_list_data_events_c, logger_find_lists_by_data_event_c,
	logger_find_devices_by_data_event_c

	C/C++ usage:

	int	status;
	int	node = 0;
	int	list = 0;
	int	sublist = LOGGER_ALL_SUBLISTS;
	unsigned int	num_devices;
	ARRAY_DEVICE_DATA_EXT	*devices;

	status = logger_get_logged_devices_c(node,list,&num_devices,
					     &devices,sublist);