HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_DSPU_TEMPLATE
} DSPU_TEMPLATE_DATA;
Each
dspu_template_data structure is followed by one or more downstream LU templates; the number of the
downstream LU templates is specied by the
number_of_dslu_templates parameter. Each downstream LU template
has the following format:
typedef struct dslu_template_data
{
AP_UINT16 overlay_size; /* size of this entry */
unsigned char reserv1[2]; /* reserved */
DSLU_TEMPLATE dslu_template; /* downstream LU template */
} DSLU_TEMPLATE_DATA;
typedef struct dslu_template
{
unsigned char min_nau; /* minimum NAU address in range */
unsigned char max_nau; /* maximum NAU address in range */
unsigned char allow_timeout; /* allow timeout of host LU? */
unsigned char delayed_logon; /* allow delayed logon to host LU */
unsigned char reserv1[8]; /* reserved */
unsigned char host_lu[8]; /* host LU or pool name */
} DSLU_TEMPLATE;
3.119.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_DSPU_TEMPLATE
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 templates for which data should be returned. To request data for a specic template
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 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 template_name parameter.
AP_LIST_FROM_NEXT
Start at the entry immediately following the entry specied by the template_name parameter.
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.
447