HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_LU62_TIMEOUT
3.134.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
buf_size
Length of the information returned in the supplied buffer.
total_buf_size
Returned value indicating the size of buffer that would have been required to return all the list information
requested. A value greater than
buf_size indicates that not all the available entries were returned.
num_entries
Number of entries returned in the data buffer.
total_num_entries
Total number of entries available. A value greater than num_entries indicates that not all the available entries
were returned.
Each entry in the data buffer consists of the following parameters:
resource_type
The type of the timeout. Possible values are:
AP_GLOBAL_TIMEOUT
Timeout applies to all LU 6.2 sessions for the local node. The resource_name parameter is set to all
zeros.
AP_LOCAL_LU_TIMEOUT
Timeout applies to all LU 6.2 sessions for the local LU indicated by the resource_name parameter.
AP_PARTNER_LU_TIMEOUT
Timeout applies to all LU 6.2 sessions to the partner LU indicated by the resource_name parameter.
AP_MODE_TIMEOUT
Timeout applies to all LU 6.2 sessions using the mode indicated by the resource_name parameter.
resource_name
Name of the resource. This name is a local LU, a partner LU, or a mode, depending on the value of the
resource_type parameter. This parameter is set to zeros if resource_type is set to
AP_GLOBAL_TIMEOUT.
timeout
Timeout period in seconds. A value of
0 (zero) indicates that the session times out immediately after it
becomes free.
3.134.4 Returned Parameters: Parameter Check
If the verb does not execute because of a parameter error, SNAplus2 returns the following parameters:
primary_rc
AP_PARAMETER_CHECK
secondary_rc
Possible values are:
AP_INVALID_RESOURCE_NAME
537