HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_CONVERSATION
This verb can be used to obtain information about a specific conversation or a range of conversations, depending
on the options used.
This verb must be issued to a running node.
3.99.1 VCB Structure
typedef struct query_conversation
{
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 lu_name[8]; /* LU Name */
unsigned char lu_alias[8]; /* LU Alias */
AP_UINT32 conv_id; /* Conversation ID */
unsigned char session_id[8]; /* Session ID */
unsigned char reserv4[12]; /* reserved */
} QUERY_CONVERSATION;
typedef struct conv_summary
{
AP_UINT16 overlay_size; /* overlay size */
AP_UINT32 conv_id; /* conversation ID */
unsigned char local_tp_name[64]; /* local TP name */
unsigned char partner_tp_name[64]; /* partner TP name */
unsigned char tp_id[8]; /* TP ID */
unsigned char sess_id[8]; /* Session ID */
AP_UINT32 conv_start_time; /* Conversation start time */
AP_UINT32 bytes_sent; /* Number of bytes sent */
AP_UINT32 bytes_received; /* Number of bytes received */
unsigned char conv_state; /* conversation state */
unsigned char duplex_type; /* reserved */
} CONV_SUMMARY;
3.99.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_CONVERSATION
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
366