HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_NMVT_APPLICATION
3.140 QUERY_NMVT_APPLICATION
QUERY_NMVT_APPLICATION returns a list of applications that have registered for NMVT-level messages by
issuing the MS verb REGISTER_NMVT_APPLICATION. For more information about this verb, see the HP-UX
SNAplus2 MS Programmers Guide.
This verb can be used to obtain information about a specic application or about multiple applications, depending
on the options used.
This verb must be issued to a running node.
3.140.1 VCB Structure
typedef struct query_nmvt_application
{
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 *buf_ptr; /* pointer to buffer */
AP_UINT32 buf_size; /* buffer size */
AP_UINT32 total_buf_size; /* total buffer size required*/
AP_UINT16 num_entries; /* number of entries */
AP_UINT16 total_num_entries; /* total number of entries */
unsigned char list_options; /* listing options */
unsigned char reserv3; /* reserved */
unsigned char application[8]; /* application */
} QUERY_NMVT_APPLICATION;
typedef struct nmvt_application_data
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char application[8]; /* application name */
AP_UINT16 ms_vector_key_type; /* MS vector key accepted */
/* by appl */
unsigned char conversion_required; /* is conversion to MDS_MU */
/* required */
unsigned char reserv[5]; /* reserved */
unsigned char reserva[20]; /* reserved */
} NMVT_APPLICATION_DATA;
3.140.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_NMVT_APPLICATION
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
557