lex_sa_find_device_c

	status.i4.v = lex_sa_find_device_c(device_index.i4.v,
					   num_matches.i4.r,
					   device_info.sp.r)

	This routine finds all Lex SAs which contain references to
	a given ACNET device.  The returned data array is allocated by
	this routine and should be freed by the caller.

	device_index	device index
	num_matches	returned number of matches found
	device_info	returned device information
			(array of structures of type
			 LEXT_PROG_DEVICE_MATCH_INFO)
			(A value of NULL can be passed for this argument
			 if no device information is desired.)
			(This array should be freed by the caller.)

	This function returns ACNET status values as follows:

	OK			success
	CLIB_NO_SUCH		no objects matching the requested
				ACNET device found
	SQL_xxx			error accessing Lex SA information

	This function requires the following include files:

	cnsparam_h, cns_data_structs_h, clib_h, acnet_errors_h

	Related functions:

	lex_sa_find_acl_scripts_c, lex_sa_get_devices, lex_sa_get_info_c,
	param_page_find_subpages_c, param_page_find_acl_subpages

	C/C++ usage:

	int	status;
	int	device_index = 27235;
	int	num_matches;
	LEXT_PROG_DEVICE_MATCH_INFO	*device_info;

	status = lex_sa_find_device_c(device_index,&num_matches,&device_info);