HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF Indications
DIRECTORY_INDICATION
Running node
The application can receive VCBs for any verbs that modify node resources, TERM_NODE VCBs, and
START_* and STOP_* VCBs for DLCs, ports, and LSs.
Inactive node
The application can receive VCBs for any verbs that modify node resources and also INIT_NODE VCBs.
4.2 DIRECTORY_INDICATION
This indication is generated when an entry is added to or removed from the local directory database.
4.2.1 VCB Structure
typedef struct directory_indication
{
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 data_lost; /* previous indication lost */
unsigned char removed; /* is entry being removed? */
unsigned char resource_name[17]; /* resource name */
unsigned char invalid; /* invalid entry being removed? */
AP_UINT16 resource_type; /* resource type */
unsigned char parent_name[17]; /* parent resource name */
unsigned char entry_type; /* type of the directory entry */
AP_UINT16 parent_type; /* parent resource type */
unsigned char description[32]; /* resource description */
unsigned char reserv3[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 */
AP_UINT16 supplier_cp_type; /* CP type of supplier */
unsigned char supplier_cp_name[17]; /* CP name of supplier */
unsigned char reserva; /* reserved */
} DIRECTORY_INDICATION;
4.2.2 Parameters
opcode
AP_DIRECTORY_INDICATION
primary_rc
AP_OK
data_lost
Species whether any previous directory indications have been lost. If SNAplus2 detects a condition that
prevents it from sending an indication (for example an internal resource shortage), it indicates this by setting
the data_lost parameter on the next indication after the condition has cleared. Possible values are:
AP_YES
One or more previous directory indications were lost. Later elds in this VCB may be set to zeros.
754