HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (QUERY Verbs)
QUERY_EMULATOR_USER_DEF
Chapter 4688
typedef struct emulator_user_summary
{
unsigned char user_name[32]; /* user name */
} EMULATOR_USER_SUMMARY;
typedef struct emulator_user_detail
{
unsigned char user_name[32]; /* user name */
AP_UINT32 num_filtered_sessions; /* total number of sessions */
/* of the requested type */
EMULATOR_USER_DEF_DATA def_data; /* user definition */
} EMULATOR_USER_DETAIL;
typedef struct emulator_user_def_data
{
unsigned char description[32]; /* Description - null terminated */
unsigned char reserv3[16]; /* reserved */
unsigned char style_file[9]; /* Initial style file name */
/* - null terminated */
unsigned char reserv1[3]; /* reserved */
AP_UINT32 num_sessions; /* Number of sessions */
AP_UINT32 max_act_sessions; /* Maximum number of active sessions */
unsigned char view_rtm; /* Can user view RTM info? */
unsigned char alert_permission; /* Has user got ALERT permission? */
unsigned char change_lu; /* Can user change LU/Pool accessed? */
unsigned char change_style; /* Can user modify initial style file?*/
unsigned char user_is_group; /* Does user_name specify a */
/* HP-UX group? */
unsigned char status; /* reserved */
unsigned char reserv2; /* reserved */
} EMULATOR_USER_DEF_DATA;
typedef struct session_def_data
{
AP_UINT16 sub_overlay_size; /* size of session_def_data structure */
unsigned char session_name[8]; /* Long session name */
unsigned char emulator_type; /* Emulator type - 3270 or 5250 */
unsigned char reserv1; /* reserved */
unsigned char description[32]; /* Session description */
unsigned char reserv2[16]; /* reserved */
union
{
SESSION_3270_DEF_DATA def_data_3270; /* definition of 3270 session */
SESSION_5250_DEF_DATA def_data_5250; /* definition of 5250 session */
} session_variant;
AP_UINT32 reserv4; /* reserved */
} SESSION_DEF_DATA;