HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (QUERY Verbs)
QUERY_RJE_WKSTN_DEF
Chapter 4 913
QUERY_RJE_WKSTN_DEF
QUERY_RJE_WKSTN_DEF returns information about 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 definition of the
workstation, not about its current usage; use QUERY_RJE_WKSTN to
obtain information about current usage.
This verb must be issued to the domain configuration file.
VCB Structure
typedef struct query_rje_wkstn_def
{
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 */
/* - includes partial entries */
unsigned char list_options; /* listing options */
unsigned char reserv3; /* reserved */
unsigned char workstation_name[4]; /* RJE workstation name */
} QUERY_RJE_WKSTN_DEF;
typedef struct rje_wkstn_def_summary
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char workstation_name[4]; /* RJE workstation name */
} RJE_WKSTN_DEF_SUMMARY;
typedef struct rje_wkstn_def_detail
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char workstation_name[4]; /* workstation name */
unsigned char reserv3[8]; /* Reserved */
RJE_WKSTN_DEF_DATA def_data;
} RJE_WKSTN_DEF_DETAIL;