alarm_get_current_alarms

	status.i4.v = alarm_get_current_alarms(num_alarms.i4.r,
					       alarm_info.sp.r)

	This routine will return the list of current alarms.

	num_alarms	returned number of alarms
	alarm_info	returned current alarm information
			(array of edp_t structures)
			(The memory for this argument is allocated by
			 this routine and should be freed by the caller.)

	This function returns ACNET status values as follows:

	OK			success
	CLIB_GENERR		failed to determine the host name
	CLIB_TRUNCATED		returned host name was truncated
	CBS_BUGCHECK		unable to open a socket
	CBS_NOTOPN		unable to connect to socket
	CBS_DUPREQ		connection already exists
	CBS_NODAT		no messge is present to receive
	CBS_REQLIMIT		message clipped to maxlen

	This function requires the following include files:

	cbslib_h, alarmsapp_h, acnet_errors_h

	Related functions:

	alarm_get_num_current_alarms, alarm_callback_init_c,
	alarm_callback_term_c, alarm_list_find_device_c,
	alarm_list_name_to_devices_c, alarm_list_names,
	alarm_find_alarms_daemon_c

	C/C++ usage:

	int	status;
	int	num_alarms;
	edp_t	*alarm_info;

	status = alarm_get_current_alarms(&num_alarms,&alarm_info);