HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (QUERY Verbs)
QUERY_LOCAL_LU
Chapter 4 711
QUERY_LOCAL_LU
QUERY_LOCAL_LU returns information about local LUs.
This verb can be used to obtain either summary or detailed information,
about a speciļ¬c LU or about multiple LUs, depending on the options
used. It can also obtain information about the LU associated with the CP
(the default LU).
VCB Structure
typedef struct query_local_lu
{
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char *buf_ptr; /* pointer to buffer */
AP_UINT32 buf_size; /* buffer size */
AP_UINT32 total_buf_size; /* total buffer size required */
AP_UINT16 num_entries; /* number of entries */
AP_UINT16 total_num_entries; /* total number of entries */
unsigned char list_options; /* listing options */
unsigned char reserv3; /* reserved */
unsigned char lu_name[8]; /* LU name */
unsigned char lu_alias[8]; /* LU alias */
unsigned char pu_name[8]; /* PU name filter */
} QUERY_LOCAL_LU;
typedef struct local_lu_summary
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char lu_name[8]; /* LU name */
unsigned char lu_alias[8]; /* LU alias */
unsigned char description[32]; /* resource description */
unsigned char reserv1[16]; /* reserved */
} LOCAL_LU_SUMMARY;
typedef struct local_lu_detail
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char lu_name[8]; /* LU name */
LOCAL_LU_DEF_DATA def_data; /* defined data */