status.i4.v = dio_redirect_status(num_redirects.u4.r, console.i2.v,
					  what.sp.r, central.i1.v

	This function returns the DPM redirection info for a specified console.

	num_redirects	returned number of redirects in effect
	console		console number to query
	what		returned array of redirection information
			(array of structures of type DPM_WHACK_LIST)
	central		central node when TRUE
	[source_info]	optional returned data source information
			(default is NULL)
	[redirect_type]	optional returned redirection type
			(DIO_SOURCE_ACCELERATOR -> not redirected,
			 DIO_SOURCE_SAVERESTORE -> redirected to a save/restore
			 DIO_SOURCE_DATALOGGER -> redirected to a data logger,
			 DIO_SOURCE_SDA -> redirected to an SDA file,
			 DIO_SOURCE_DATABASE -> redirected to the settings
			 DIO_SOURCE_MODEL -> redirected to a generic model,
			 DIO_SOURCE_TEST_OAC -> redirected to a test OAC)
			(default is NULL)

	This function returns ACNET status values as follows:

	OK			success
	DIO_MEMFAIL		dynamic memory allocation failure
	ACNET_xxx		request failed

	This function requires the following include files:

	dpmlib_h, diolib_h, acnet_errors_h

	Related functions:

	dio_model_names, dio_redirect

	C/C++ usage:

	char	central = FALSE;
	short	console = myconsole();
	int	status;
	int	redirect_type;
	unsigned int	num_redirects;
	DIO_DL_SPEC	source_info;

	status = dio_redirect_status(&num_redirects,console,&what,central,
				     (void *) &source_info,&redirect_type);