HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (QUERY Verbs)
QUERY_3270_USER
Chapter 4506
typedef struct user_3270_detail
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char user_name[32]; /* 3270 user name */
unsigned char system_name[64]; /* computer name */
AP_UINT32 user_pid; /* process ID */
AP_UINT32 reserv1; /* reserved */
AP_UINT32 user_uid; /* user ID */
AP_UINT32 user_gid; /* group ID */
unsigned char user_gname[32]; /* group name */
AP_UINT32 user_session_count; /* count of user's 3270 sessions */
AP_UINT32 user_start_time; /* time when user started the */
/* 3270 emulation program */
} USER_3270_DETAIL;
Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_3270_USER
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. To request data for a specific user rather
than a range, specify the value 1. To return as many
entries as possible, specify zero; in this case, SNAplus2
will return themaximum number ofentries that canbe
accommodated in the supplied data buffer.
list_options