SNAX Connection Manager (SNAX/CM) Manual
SNAX/CM Message Structures
SNAX/CM Server
097842 Tandem Computers Incorporated 4–3
Structure When a Line Is
Connected
The following structure is used when a line is connected. The return code tells why
the line was not connected; if non-zero, the file-system error provides more
information.
STRUCT USER^INTERFACE1;
BEGIN
STRING base[ 0:-1 ]; ! Used with VARSTRING
INT message^type; ! 1 = CONNECTED
INT lucount; ! The number of LUs connected
INT rc; ! Return code
INT ferror; ! File system error
STRUCT luname(VARSTRING); ! Pointer to the alias LU name
STRUCT portname(VARSTRING); ! Pointer to the X25AM
! subdevice name
STRUCT puname(VARSTRING); ! Pointer to the PU name
STRING data[0:-1]; ! Alias LU name, X25AM SU
! name, and PU name
END;
Structure When a Line Is
Disconnected
The following structure is used when a line is disconnected. The return code tells why
the line was disconnected; the file-system error provides more information (if non-
zero).
STRUCT USER^INTERFACE2;
BEGIN
STRING base[ 0:-1 ]; ! Used with VARSTRING
INT message^type; ! 2 = DISCONNECTED
INT rc; ! Return code
INT ferror; ! File system error
STRUCT linename(VARSTRING); ! Line name
STRUCT portname(VARSTRING); ! Pointer to the X25AM
! subdevice name
STRUCT puname(VARSTRING); ! Pointer to the PU name
STRING data[0:-1]; ! Alias LU name, X25AM SU
! name, and PU name
END;