camac_madc_list_c

	status.i4.v = camac_madc_list_c(node.i4.v, num_madcs.i4.r,
					max_return.i4.v, madc_numbers.i4a.r,
					crates.i4a.r, slots.i4a.r,
					actual_nodes.i4a.r
					[,options.u4.v])

	This routine returns the list of MADCs supported by a CAMAC
	front end.  This optional "actual_nodes" is useful due to the
	fact that larger CAMAC links have been broken up into smaller
	ones to lower link usage.

	node		requested ACNET node
			(constants are in 'nodedefs')
	num_madcs	returned number of supported MADCs
	max_return	maximum number of MADC numbers, crates, slots
			and actual nodes to return
	madc_numbers	returned array of MADC numbers
			(A value of NULL can be passed for this argument
			 if these values are not needed.)
	crates		returned array of crate values
			(A value of NULL can be passed for this argument
			 if these values are not needed.)
	slots		returned array of slot values
			(A value of NULL can be passed for this argument
			 if these values are not needed.)
	actual_nodes	returned array of actual ACNET nodes
			(constants are in 'nodedefs')
			(A value of NULL can be passed for this argument
			 if these values are not needed.)
	[options]	retrieval options
			(CAMAC_MADC_OPT_NONE -> no options selected (default),
			 CAMAC_MADC_OPT_NO_HRMS -> don't include any HRMs)

	This function returns ACNET status values as follows:

	OK			success
	CLIB_INVARG		invalid CAMAC node passed
	positive value		number of component nodes in error

	This function requires the following include files:

	clib_h, nodedefs_h, acnet_errors_h

	Related functions:

	is_camac_node_c, camac_node_list_c, camac_madc_to_node_c,
	camac_crate_list_c, gas_house_list_c, camac_crate_to_node_c,
	gas_house_to_node_c, gas_house_code_to_node_c,
	is_split_camac_node_c, camac_component_nodes_c,
	is_component_camac_node_c, get_global_camac_node_c, camac_io_c

	C/C++ usage:

#define	MAX_RETURN	128

	int	status;
	int	node = MI;
	int	num_madcs;
	int	max_return = MAX_RETURN;
	int	madc_numbers[MAX_RETURN];
	int	crates[MAX_RETURN];
	int	slots[MAX_RETURN];
	int	actual_nodes[MAX_RETURN];
	unsigned int	options = CAMAC_MADC_OPT_NONE;

	status = camac_madc_list_c(node,&num_madcs,max_return,madc_numbers,
				   crates,slots,actual_nodes,options);