t_link_software_stat (ul_tecar)


   Synopsis:

      This function is called to read the link errors from TECAR.


   Declarations (FORTRAN):

        CHARACTER TECAR_SERVER*8 /'tecar-a2'/
        INTEGER*2 ISTAT, T_LINK_SOFTWARE_STAT
        INTEGER*4 OUTPUT(6)


   Declarations (ANSI C):

      #include "tecar.h"
      unsigned char TECAR_server[]="tecar-a2";
      short istat;
      read_RtLC output;
      short t_link_software_stat ( unsigned char *const TECAR_server,
                                   read_RtLC *const output );


   Usage (FORTRAN):

 	ISTAT = T_LINK_SOFTWARE_STAT ( TECAR_SERVER, OUTPUT )


   Usage (C):

      istat = t_link_software_stat ( TECAR_server, output );


   Usage (VAX generic format):

      istat.w.w = t_link_software_stat ( TECAR_server.ar.b, output.aw.l )


   Arguments:

      Input - readonly:

         TECAR_server	a character string which contains the Internet
                        name of the TECAR server. This name must be
                        resolvable via the Domain Name Service.
			This may be passed either as a pointer to a
		        null-terminated string, or by descriptor
			(under VMS only).


      Current - writeonly:

         output         structure of 6 int integers
                         TECAR-QPM Link Software Status:
                            tecar60_heartbeat
	                        tecar720_heartbeat
	                        linktimeout_err_count
	                        qpsoftfail_err_count
	                        qphardfail_err_count
	                        slip60hz


      Returns:

         istat          the status return in ACNET format