HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_TP_LOAD_INFO
unsigned char tp_name[64]; /* TP name */
unsigned char lu_alias[8]; /* LU alias */
TP_LOAD_INFO_DEF_DATA def_data; /* defined data */
} TP_LOAD_INFO;
typedef struct tp_load_info_def_data
{
unsigned char description[32]; /* Description */
unsigned char reserv1[16]; /* reserved */
unsigned char user_id[64]; /* User ID */
unsigned char group_id[64]; /* Group ID */
unsigned shor timeout; /* Timeout value */
unsigned char type; /* TP type */
unsigned char reserv2; /* reserved */
AP_UINT16 reserv3; /* reserved */
AP_UINT16 ltv_length; /* Length of LTV data */
} TP_LOAD_INFO_DEF_DATA;
3.166.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_TP_LOAD_INFO
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 extra data control blocks for which data should be returned. To request data for a
specic resource rather than a range, specify the value 1. To return as many entries as possible, specify zero;
in this case, SNAplus2 will return the maximum number of entries that can be accommodated in the supplied
data buffer.
list_options
The position in the list of TPs from which SNAplus2 should begin to return data. Possible values are:
AP_FIRST_IN_LIST
Start at the rst entry in the list.
AP_LIST_INCLUSIVE
Start at the entry specied by the combination of TP name and LU alias.
AP_LIST_FROM_NEXT
Start at the entry immediately following the entry specied by the combination of TP name and LU
alias.
For more information about how the list is ordered and how the application can obtain specic entries from
it, see Section 2.7, List Options For QUERY_* Verbs.
tp_name
TP name to query. This is a 64-byte EBCDIC string, padded on the right with spaces if the name is shorter
than 64 characters. Specify all binary zeroes to match on all TPs. This value is ignored if list_options is set
to AP_FIRST_IN_LIST.
688