HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_DIRECTORY_ENTRY
unsigned char description[32]; /* resource description */
unsigned char reserv1[16]; /* reserved */
AP_UINT16 real_owning_cp_type; /* CP type of real owner */
unsigned char real_owning_cp_name[17]; /* CP name of real owner */
unsigned char reserve2; /* reserved */
} DIRECTORY_ENTRY_SUMMARY;
typedef struct directory_entry_detail
{
AP_UINT16 overlay_size; /* size of this entry */
unsigned char resource_name[17]; /* network qualified res name */
unsigned char reserv1a; /* reserved */
AP_UINT16 resource_type; /* Resource type */
unsigned char description[32]; /* resource description */
unsigned char reserv2[16]; /* reserved */
unsigned char parent_name[17]; /* Network qualified parent name */
unsigned char reserv1b; /* reserved */
AP_UINT16 parent_type; /* Parent resource type */
unsigned char entry_type; /* Type of the directory entry */
unsigned char location; /* Resource location */
AP_UINT16 real_owning_cp_type; /* CP type of real owner */
unsigned char real_owning_cp_name[17]; /* CP name of real owner */
unsigned char reserv1c; /* reserved */
AP_UINT16 supplier_cp_type; /* CP type of supplier */
unsigned char supplier_cp_name[17]; /* CP name of supplier */
unsigned char reserva; /* reserved */
} DIRECTORY_ENTRY_DETAIL;
3.107.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_DIRECTORY_ENTRY
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 resources for which data should be returned. To request data for a specific 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 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.
AP_DETAIL
Detailed information.
Combine this value using a logical OR operation with one of the following values:
392