multiwire_get_names_c (ul_multiwire)

	status.i4.v = multiwire_get_names_c(machine.i4.v, detector_names.i1a.r,
					    num_detectors.i4.r, max_return.i4.v
					    [,req_type.i4.v] [,ret_types.i1a.r]
					    [,ret_machines.i4a.r])

	This routine returns multiwire names for the requested machine.

	machine		requested machine
			(Note: If a value of MACHINE_NONE is passed for this
			 argument, the routine will return all detector names.)
			(e.g. MACHINE_BOOSTER_DUMP,MACHINE_400_MEV_LINE,
			 MACHINE_MI8_LINE,MACHINE_P1_LINE,MACHINE_A1_LINE,
    			 MACHINE_TEVATRON,MACHINE_MINIBOONE,MACHINE_R20_LINE,
    			 MACHINE_SWITCHYARD,MACHINE_SWYD_PAGE2,MACHINE_P3_LINE,
    			 MACHINE_MESON_LINE,MACHINE_AP1_LINE,MACHINE_AP2_LINE,
			 MACHINE_AP3_LINE,MACHINE_D_TO_A_LINE...)
	detector_names	returned detector names
			(MW_DEVICE_NAME_LEN characters per name)
			(Note: A value of NULL may be passed for this
			argument if no detector names are desired.)
	num_detectors	returned number of detector names for the requested
			machine
	max_return	maximum number of detector names to return for the
			requested machine
			(Note: If a value of zero is passed for this argument,
			the routine will only return the number of detector 
			names for the requested machine.)
	[req_type]	requested detector type
			(MW_TYPE -> returns C192 multiwire names only,
			 SWIC_TYPE -> returns SWIC type multiwire names only,
			 REAL_SWIC_TYPE -> returns REAL_SWIC type multiwire
					   names only,
			 SWIC_TYPE+REAL_SWIC_TYPE -> returns SWIC type and
						     REAL_SWIC type multiwire
						     names,
			 SEM_TYPE -> returns SEM names only,
			 MW_OPT_NONE -> returns all type multiwire names of the 
					requested machine (default))
	[ret_types]	returned detector types
			(MW_TYPE -> C192 multiwire,
			 SWIC_TYPE -> SWIC,
			 REAL_SWIC_TYPE -> "real" SWIC,
			 SEM_TYPE -> SEM)
			(default is NULL)
	[ret_machines]	returned corresponding machine IDs (MACHINE_xxx)
			(constants are in 'machine')
			(default is NULL)

	This function returns ACNET status values as follows:

	CLIB_OK			success
	CLIB_BUGCHK		initialization failed
	CLIB_INVARG		invalid machine passed
	otherwise               ACNET format error

	This function requires the following include files:

	ul_multiwire_h:multiwires_h, acnet_errors_h

	Related functions:

	multiwire_menu_c, multiwire_get_data_c, multiwire_num_wires_c,
	multiwire_get_position_c, multiwire_set_position_c,
	multiwire_get_list_c, multiwire_cancel_get_lst,
	multiwire_get_scans_list_c, multiwire_detector_type_c,
	multiwire_get_power_status_c, multiwire_get_hv_status_c,
	multiwire_get_sequencer_status_c, multiwire_set_sequencer_status_c,
	multiwire_set_hv_status_c, multiwire_display_config_c,
	multiwire_display_dir_select_c

	C/C++ usage:

	char	detector_names[MAX_RETURN][MW_DEVICE_NAME_LEN];
	char	ret_types[MAX_RETURN];
	int	status;
	int	machine = MACHINE_MI8_LINE;
	int	num_detectors;
	int	max_return = MAX_RETURN;
	int	req_type = SWIC_TYPE;
	int	ret_machines[MAX_RETURN];

	status = multiwire_get_names_c(machine,(char *) detector_names,
				       &num_detectors,max_return,req_type,
				       ret_types,ret_machines);