HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (QUERY Verbs)
QUERY_DIRECTORY_ENTRY
Chapter 4 601
The name is a 17-byte EBCDIC string, padded on the
right with EBCDIC spaces. It consists of a network ID
of 1-8 A-string characters, an EBCDIC dot (period)
character, and a network name of 1-8 A-string
characters.
parent_type
Resource type of the parent resource. To return only
entries belonging to the speciļ¬ed parent, set this
parameter to the type of the parent resource; to return
all entries, set this parameter to zero. Possible values
are:
AP_ENCP_RESOURCE
End node (for an LU resource owned
by an end node)
AP_NNCP_RESOURCE
Network node (for an LU resource
owned by a network node, or for an
EN or LEN resource)
Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following
parameters:
primary_rc
AP_OK
buf_size
Length of the information returned in the supplied
buffer.
total_buf_size
Returned value indicating the size of buffer that would
have been required to return all the list information
requested. A value greater than
buf_size
indicates
that not all the available entries were returned.
num_entries
Number of entries returned in the data buffer.