HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_LU_0_TO_3
unsigned char reserv4[32]; /* reserved */
} SESSION_USER_INFO;
If the app_type parameter in the
lu_0_to_3_det_data structure is set to
AP_RJE_WKSTN, the app_spec_det_data eld
contains the same structure as the 3270 structure above, except that the user_type and lu_model parameters are set
to
AP_RJE_WKSTN
and the user_name parameter contains the RJE workstation name.
If the app_type parameter in the
lu_0_to_3_det_data
structure is set to
AP_PU_CONCENTRATION
, the
app_spec_det_data eld contains the same structure as the 3270 structure above except that the app_type
parameter is set to
AP_PU_CONCENTRATION
and the user_name through user_gname parameters are replaced by a
pu_conc_downstream_lu parameter.
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
eld 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 eld
contains the following structure:
typedef struct tn_server_session_user_info
{
unsigned char user_ip_address[16]; /* users 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 cipher_spec; /* reserved */
unsigned char reserv3[21]; /* reserved */
} TN_SERVER_SESSION_USER_INFO;
3.131.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_LU_0_TO_3
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 LUs for which data should be returned. To request data for a specic LU rather than
a range, specify the value 1. To return as many entries as possible, specify 0; in this case, SNAplus2 will
return the maximum number of entries that can be accommodated in the supplied data buffer.
list_options
517