HP-UX SNAplus2 R7 APPC Programmer's Guide

APPC Conversation Verbs
GET_TYPE
The conversation verbs are described in the following order:
GET_TYPE
[MC_]ALLOCATE
[MC_]CONFIRM
[MC_]CONFIRMED
[MC_]DEALLOCATE
[MC_]FLUSH
[MC_]GET_ATTRIBUTES
[MC_]PREPARE_TO_RECEIVE
[MC_]RECEIVE_AND_POST
[MC_]RECEIVE_AND_WAIT
[MC_]RECEIVE_IMMEDIATE
[MC_]RECEIVE_EXPEDITED_DATA
[MC_]REQUEST_TO_SEND
[MC_]SEND_CONVERSATION
[MC_]SEND_DATA
[MC_]SEND_ERROR
[MC_]SEND_EXPEDITED_DATA
[MC_]TEST_RTS
[MC_]TEST_RTS_AND_POST
4.1 GET_TYPE
The GET_TYPE verb returns the conversation type (basic or mapped) of a particular conversation, and whether the
conversation operates in full-duplex or half-duplex mode.
With this information, the TP can determine the correct verbs to issue on this conversation.
4.1.1 VCB Structure: GET_TYPE
UNIX
The denition of the VCB structure for the GET_TYPE verb is as follows:
typedef struct get_type
{
AP_UINT16 opcode;
unsigned char opext; /* Reserved */
unsigned char format;
AP_UINT16 primary_rc;
AP_UINT32 secondary_rc;
unsigned char tp_id[8];
AP_UINT32 conv_id;
unsigned char conv_type;
104