HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (QUERY Verbs)
QUERY_EMULATOR_USER_DEF
Chapter 4 689
typedef struct session_3270_def_data
{
unsigned char lu_name[8]; /* LU/pool name accessed */
unsigned char session_type; /* Session type - Model 2-5 or printer*/
unsigned char model_override; /* Can the user override the model? */
} SESSION_3270_DEF_DATA;
typedef struct session_5250_def_data
{
unsigned char local_lu_alias[8]; /* Local LU alias */
unsigned char plu_alias[8]; /* Partner LU alias */
unsigned char fqplu_name[17]; /* Fully-qualified partner LU name */
unsigned char mode_name[8]; /* Mode name */
unsigned char session_type; /* Session type - display or printer */
} SESSION_5250_DEF_DATA;
Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_EMULATOR_USER_DEF
sub_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
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 session name is specified, so that the
returned data does not include the user definition or
the user's first session).