HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_TN3270_ACCESS_DEF
unsigned char printer_lu_name[8]; /* Generic printer LU/pool */
/* accessed */
unsigned char reserv1[6]; /* reserved */
AP_UINT16 port_number; /* TCP/IP port used to access */
/* server */
unsigned char lu_name[8]; /* Generic display LU/pool */
/* accessed */
unsigned char session_type; /* Unused in current version */
unsigned char model_override; /* Unused in current version */
unsigned char ssl_enabled; /* reserved */
unsigned char reserv3[64]; /* reserved */
AP_UINT32 reserv4; /* reserved */
} TN3270_SESSION_DEF_DATA;
3.160.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_TN3270_ACCESS_DEF
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 users for which data should be returned. If detailed information about user sessions
is being returned, this number includes partial entries (for which a client address is specied, so that the re-
turned data does not include the user denition or the users rst session).
To request data for a specic user 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 from which SNAplus2 should begin to return data, and the level of information required
for each entry. Specify the level of information with one of the following values:
AP_SUMMARY
Summary information only.
AP_DETAIL
Detailed information.
Combine this value using a logical OR operation with one of the following values:
AP_FIRST_IN_LIST
Start at the rst session for the rst user in the list.
AP_LIST_INCLUSIVE
Start at the entry specied by the supplied client address and port number, or start at the rst session
for the specied client address if no port number is specied.
AP_LIST_FROM_NEXT
670