HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_DIRECTORY_LU
This verb must be issued to a running node.
3.108.1 VCB Structure
typedef struct query_directory_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[17]; /* network qualified lu name */
} QUERY_DIRECTORY_LU;
typedef struct directory_lu_summary
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char lu_name[17]; /* network qualified lu name */
unsigned char description[32]; /* resource description */
unsigned char reserv1[16]; /* reserved */
} DIRECTORY_LU_SUMMARY;
typedef struct directory_lu_detail
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char lu_name[17]; /* network qualified lu name */
unsigned char description[32]; /* resource description */
unsigned char reserv1[16]; /* reserved */
unsigned char server_name[17]; /* network qualified server name */
unsigned char lu_owner_name[17]; /* network qualified lu owner name */
unsigned char location; /* Resource location */
unsigned char entry_type; /* Type of the directory entry */
unsigned char wild_card; /* type of wildcard entry */
unsigned char apparent_lu_owner_name[17]; /* name of apparent LU owner */
unsigned char reserva[3]; /* reserved */
} DIRECTORY_LU_DETAIL;
3.108.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_DIRECTORY_LU
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
398