HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (QUERY Verbs)
QUERY_TP_DEFINITION
Chapter 4986
QUERY_TP_DEFINITION
QUERY_TP_DEFINITION returns information about TPs defined on
the SNAplus2 system. This verb can be used to obtain information about
a specific TP or about multiple TPs, depending on the options used. It
returns information about the definition of the TPs, not about their
current usage; use QUERY_TP to obtain the usage information.
VCB Structure
typedef struct query_tp_definition
{
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 */
unsigned char tp_name[64]; /* TP name */
} QUERY_TP_DEFINITION;
typedef struct tp_def_summary
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char tp_name[64]; /* TP name */
unsigned char description[32]; /* resource description */
unsigned char reserv1[16]; /* reserved */
} TP_DEF_SUMMARY;
typedef struct tp_def_detail
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char tp_name[64]; /* TP name */
TP_CHARS tp_chars; /* TP characteristics */
} TP_DEF_DETAIL;