HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_RJE_WKSTN
3.151.4 Returned Parameters: Other Conditions
Appendix B, Common Return Codes lists further combinations of primary and secondary return codes that are
common to all NOF verbs.
3.152 QUERY_RJE_WKSTN
QUERY_RJE_WKSTN returns information about usage of SNAplus2 RJE workstations. It can return either
summary or detailed information, about a single workstation or multiple workstations, depending on the options
used. This verb returns information about the current usage of the workstation, not about its denition; use
QUERY_RJE_WKSTN_DEF to obtain information about the conguration le denition.
This verb must be issued to a running node.
3.152.1 VCB Structure
typedef struct query_rje_wkstn
{
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char *buf_ptr; /* pointer to buffer */
AP_UINT32 buf_size; /* buffer size */
AP_UINT32 total_buf_size; /* total buffer size required */
AP_UINT16 num_entries; /* number of entries */
AP_UINT16 total_num_entries; /* total number of entries */
unsigned char list_options; /* listing options */
unsigned char reserv3; /* reserved */
AP_UINT16 scope; /* parameters to match with */
AP_UINT16 reserv1; /* reserved */
unsigned char workstation_name[4]; /* workstation name */
unsigned char system_name[128]; /* computer name */
AP_UINT32 wkstn_pid; /* reserved */
unsigned char reserv4[8]; /* reserved */
} QUERY_RJE_WKSTN;
typedef struct rje_wkstn_summary
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char workstation_name[4]; /* workstation name */
unsigned char system_name[128]; /* computer name */
AP_UINT32 wkstn_pid; /* process ID */
unsigned char reserv3[8]; /* reserved */
} RJE_WKSTN_SUMMARY;
typedef struct rje_wkstn_detail
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char workstation_name[4]; /* workstation name */
unsigned char system_name[128]; /* computer name */
AP_UINT32 wkstn_pid; /* process ID */
AP_UINT32 reserv1; /* reserved */
625