HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (QUERY Verbs)
QUERY_3270_DIAG
Chapter 4 501
AP_UINT16 num_alerts; /* Number of user alerts */
} DIAG_3270_DATA;
typedef struct alert_3270_data
{
unsigned char description[53]; /* description */
unsigned char parameter1[33]; /* parameter 1 */
unsigned char parameter2[33]; /* parameter 2 */
unsigned char parameter3[33]; /* parameter 3 */
} ALERT_3270_DATA;
Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_3270_DIAG
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
Maximum number of 3270 user alerts for which data
should be returned. To request data for a specific alert
rather than a range, specify the value 1. To return as
many entries as possible, specify zero; in this case,
SNAplus2 will return the maximum number of entries
that can be accommodated in the supplied data buffer.
list_options
The position in the list of alerts from which SNAplus2
should begin to return data. Specify one of the
following values:
AP_FIRST_IN_LIST
Start at the first entry in the list.
AP_LIST_INCLUSIVE