HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_TP_DEFINITION
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;
typedef struct tp_chars
{
unsigned char description[32]; /* resource description */
unsigned char security_list_name[14]; /* security access list name */
unsigned char reserv1[2]; /* reserved */
unsigned char conv_type; /* conversation type */
unsigned char security_rqd; /* security support */
unsigned char sync_level; /* synchronization level support */
unsigned char dynamic_load; /* dynamic load */
unsigned char enabled; /* is the TP enabled? */
unsigned char pip_allowed; /* program initialization */
/* parameters supported */
unsigned char reserv3[10]; /* reserved */
AP_UINT16 tp_instance_limit; /* limit on currently active TP */
/* instances */
AP_UINT16 incoming_alloc_timeout; /* reserved */
AP_UINT16 rcv_alloc_timeout; /* reserved */
AP_UINT16 tp_data_len; /* reserved */
unsigned char tp_data[120]; /* reserved */
} TP_CHARS;
3.165.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_TP_DEFINITION
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.
683