HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_LU62_TIMEOUT
3. Partner LU timeouts
4. Mode timeouts
For resource_name, the ordering is by:
1. Name length
2. By ASCII lexicographical ordering for names of the same length
If the list_options parameter is set to
AP_LIST_FROM_NEXT, the returned list starts for the next entry according
to the dened ordering (whether or not the specied entry exists).
3.134.1 VCB Structure
typedef struct query_lu62_timeout
{
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2;
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char *buf_ptr; /* buffer pointer */
AP_UINT32 buf_size; /* buffer size */
AP_UINT32 total_buf_size; /* total buffer size */
AP_UINT16 num_entries; /* number of entries */
AP_UINT16 total_num_entries; /* total number of entries */
unsigned char list_options; /* list options */
unsigned char reserv3; /* reserved */
unsigned char resource_type; /* resource type */
unsigned char resource_name[17]; /* resource name */
} QUERY_LU62_TIMEOUT;
typedef struct lu62_timeout_data
{
AP_UINT16 overlay_size; /* overlay size */
unsigned char resource_type; /* resource type */
unsigned char resource_name[17]; /* resource name */
AP_UINT16 timeout; /* timeout */
} LU62_TIMEOUT_DATA;
3.134.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_LU62_TIMEOUT
buf_ptr
A pointer to a data buffer that SNAplus2 will use to return the requested information.
buf_size
Size of the supplied data buffer.
num_entries
Maximum number of entries for which data should be returned. To request data for a specic entry rather
than a range, specify the value 1. To return as many entries as possible, specify 0; in this case, SNAplus2
will return the maximum number of entries that can be accommodated in the supplied data buffer.
535