HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_LU_POOL
AP_UINT16 total_num_entries; /* total number of entries */
unsigned char list_options; /* listing options */
unsigned char reserv3; /* reserved */
unsigned char pool_name[8]; /* Pool name */
unsigned char lu_name[8]; /* LU name */
} QUERY_LU_POOL;
typedef struct lu_pool_summary
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char pool_name[8]; /* Pool name */
unsigned char description[32]; /* resource description */
unsigned char reserv1[16]; /* reserved */
AP_UINT16 num_active_lus; /* number of active lus */
AP_UINT16 num_avail_lus; /* number of available lus */
} LU_POOL_SUMMARY;
typedef struct lu_pool_detail
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char pool_name[8]; /* Pool name */
unsigned char description[32]; /* resource description */
unsigned char reserv1[16]; /* reserved */
unsigned char lu_name[8]; /* LU name */
unsigned char lu_sscp_sess_active; /* Is LU-SSCP session active */
unsigned char appl_conn_active; /* Is appl connection open */
unsigned char plu_sess_active; /* Is PLU-SLU session active */
} LU_POOL_DETAIL;
3.133.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_LU_POOL
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. If list_options is set to AP_SUMMARY, each
entry is a single LU pool; if list_options is set to AP_DETAIL, each entry is an LU in a pool (or an entry
indicating an empty LU pool).
To request a specific entry 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, and the level of information required
for each entry. Specify the level of information with one of the following values:
AP_SUMMARY
Summary information only (list LU pools).
531