clock_type_convert_c

	status.i4.v = clock_type_convert_c(convert_type.i4.v, value.i4.v)

	This routine converts between multicast and standard clock types.

	convert_type	conversion type
			(CLOCK_MULTICAST_TO_STANDARD_TYPE -> convert a multicast
							     type to a standard
							     type,
			 CLOCK_STANDARD_TO_MULTICAST_TYPE -> convert a standard
							     type to a multicast
							     type,
			 CLOCK_STANDARD_TO_DIO_TYPE -> convert a standard type
						       to a DIO type,
			 CLOCK_DIO_TO_STANDARD_TYPE -> convert a DIO type to a
						       standard type)
	value		value to convert
			multicast types:
			(MCAST_TYPE_TCLK-> TCLK (accelerator) event,
			 MCAST_TYPE_TEST -> test clock,
			 MCAST_TYPE_PROJ -> PROJect clock,
			 MCAST_TYPE_NML -> NML/ASTA clock)
			standard types:
			(CLOCK_TCLK -> TCLK (accelerator) event,
			 CLOCK_TEST -> test clock event,
			 CLOCK_PCLK -> PROJect clock event,
			 CLOCK_NCLK -> NML/ASTA event)
			DIO types:
			(DIO_TCLK -> TCLK (accelerator) event,
			 DIO_TEST_CLOCK -> test clock event,
			 DIO_PCLK -> PROJect clock event,
			 DIO_NCLK -> NML/ASTA event)

	This function returns status values as follows:

	CLIB_INVARG		invalid conversion type or value to convert
	CLOCK_TCLK		TCLK (accelerator) clock event
	CLOCK_TEST		test clock event
	CLOCK_PCLK		PROJect clock event
	CLOCK_NCLK		NML/ASTA clock event
	MCAST_TYPE_TCLK		TCLK (accelerator) event
	MCAST_TYPE_TEST		test clock
	MCAST_TYPE_PROJ		PROJect clock
	MCAST_TYPE_NML		NML/ASTA clock
	DIO_TCLK		TCLK (accelerator) clock event
	DIO_TEST_CLOCK		test clock event
	DIO_PCLK		PROJect clock event
	DIO_NCLK		NML/ASTA clock event

	This function requires the following include files:

	clib_h, tclk_events_h, diolib_h, acnet_errors_h

	Related functions:

	clock_get_default_multicast_type, clock_set_console_multicast_type,
	lckclk_c, lckclk_api, lckclk_allocate, evmon, evmon_usec_c, acctim,
	ticks_since_event, event_history, event_count_c,
	event_last_timestamp_c, reflected_events_c, is_beam_sync_clock_type_c

	C/C++ usage:

	int	status;
	int	convert_type = CLOCK_MULTICAST_TO_STANDARD_TYPE;
	int	value = MCAST_TYPE_TCLK;

	status = clock_type_convert_c(convert_type,value);