HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (QUERY Verbs)
QUERY_RJE_WKSTN
Chapter 4908
AP_UINT32 wkstn_pid; /* process ID */
AP_UINT32 reserv1; /* reserved */
AP_UINT32 wkstn_uid; /* user ID */
AP_UINT32 wkstn_gid; /* group ID */
unsigned char wkstn_uname[32]; /* user name */
unsigned char wkstn_gname[32]; /* group name */
AP_UINT32 wkstn_session_count; /* count of RJE LU sessions */
AP_UINT32 wkstn_start_time; /* time workstation was started */
} RJE_WKSTN_DETAIL;
Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_RJE_WKSTN
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 workstations for which data
should be returned. To request data for a specific
workstation rather than a range, specify the value 1.To
return as many entries as possible, specify zero; in this
case, SNAplus2 will return the maximum number of
entries that can be accommodated in the supplied data
buffer.
list_options