HP-UX SNAplus2 NOF Programmer's Guide
NOF Indications
DIRECTORY_INDICATION
Chapter 6 1109
DIRECTORY_INDICATION
This indication is generated when an entry is added to or removed from
the local directory database.
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; /* reserved */
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 */
unsigned char reserva[20]; /* reserved */
} DIRECTORY_INDICATION;
Parameters
opcode
AP_DIRECTORY_INDICATION
primary_rc
AP_OK
data_lost
Speciļ¬es 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