HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DEFINE_DIRECTORY_ENTRY
Chapter 3 197
unsigned char reserv4[8]; /* reserved */
} DEFINE_DIRECTORY_ENTRY;
Supplied Parameters
The application supplies the following parameters:
opcode
AP_DEFINE_DIRECTORY_ENTRY
resource_name
Fully qualified name of the resource being registered.
The name is a 17-byte EBCDIC string, right-padded
with EBCDIC spaces. It consists of a network ID of up
to 8 A-string characters, an EBCDIC dot (period)
character, and a network name of up to 8 A-string
characters.
resource_type
Specifies the type of the resource being defined.
Possible values are:
AP_ENCP_RESOURCE
End node or LEN node
AP_NNCP_RESOURCE
Network node
AP_LU_RESOURCE
LU
AP_WILDCARD_LU_RESOURCE
Wildcard LU name.
For an LU or wildcard LU, the directory entry for the
parent resource (the owning CP) must already be
defined.
description
A null-terminated text string (0-31 characters followed
by a null character) describing the directory entry. This
string is for information only; it is stored in the node's
configuration file and returned on the
QUERY_DIRECTORY_ENTRY and
QUERY_DIRECTORY_LU verbs, but SNAplus2 does
not make any other use of it.