HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (QUERY Verbs)
QUERY_LU_0_TO_3
Chapter 4 765
If the
app_type
parameter in the lu_0_to_3_det_data structure is set
to AP_LUA_APPLICATION, the
app_spec_det_data
field contains the
same structure as the 3270 structure above except that the
app_type
parameter is set to AP_LUA_APPLICATION and the
user_name
through
user_gname
parameters are not returned.
If the
app_type
parameter in the lu_0_to_3_det_data structure is set
to AP_TN_SERVER, the
app_spec_det_data
field contains the following
structure:
typedef struct tn_server_session_user_info
{
unsigned char user_ip_address[16]; /* user's IP address */
AP_UINT16 port_number; /* TCP/IP port number */
AP_UINT16 cb_number; /* reserved */
AP_UINT16 cfg_default; /* using the default record? */
unsigned char cfg_address[68]; /* address from config record */
AP_UINT16 cfg_format; /* format of address */
unsigned char tn3270_level; /* TN3270 level used: */
/* AP_LEVEL_TN3270 */
/* AP_LEVEL_TN3270E */
unsigned char lu_select; /* method of LU selection: */
/* AP_GENERIC_LU */
/* AP_SPECIFIC_LU */
/* AP_ASSOCIATED_LU */
unsigned char request_lu_name[8]; /* requested LU name or */
/* associated display LU name */
/* (in EBCDIC) */
unsigned char reserv3[22]; /* reserved */
} TN_SERVER_SESSION_USER_INFO;
Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_LU_0_TO_3
overlay_size
For compatability with future releases of SNAplus2,
your application must use this field to determine the
exact length of the overlay structure returned, and
should not rely on the use of the sizeof() function.
buf_ptr