logger_get_device_events_c

	status.i4.v = logger_get_device_events_c(device_name.i1a.r,
						 node.u4.v,
						 num_found.u4.r,
						 ret_event_string.i1a.r)

	This routine returns data events for the requested device and node
	which the device was logged.

	device_name	requested device name
			(up to C_STYLE_LONG_DEVICE_NAME_LEN characters)
			(example: "M:OUTTMP")
	node		Lumberjack source node which the device was logged
	num_found	returned number of entries found
	ret_evt_string	returned events
			(per ret_event_string DATA_EVENT_MAX_LEN characters)
			(Note: This is a pointer to a buffer allocated by
			 this routine. The caller should neither allocate
			 nor free this buffer.)

	This function returns ACNET status values as follows:

	OK			success
	LJ_MEMFAIL		dynamic memory allocation failure
	LJ_INVARG		requested device name is blank or NULL
	LJ_NO_SUCH		requested Lumberjack does not have the
				requested device
	ACNET_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_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_find_device_c, logger_shutdown, logger_name_to_node,
	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:

	static const char device_name[C_STYLE_LONG_DEVICE_NAME_LEN+1] = "M:OUTTMP";
	unsigned int	node = CNS57;
	unsigned int	num_found;
	char	*ret_event_string;
	int	status;

	status = logger_get_device_events_c(device_name,node,
					    &num_found,&ret_event_string);