HP-UX SNAplus2 R7 APPC Programmer's Guide
APPC Conversation Verbs
MC_DEALLOCATE and DEALLOCATE
4.4.9 State When Issued
The conversation must be in one of the following states when the TP issues this verb:
• Confirm
• Confirm_Send
• Confirm_Deallocate
4.4.10 State Change
The new state is determined by the old state—the state of the conversation when the local TP issued the
[MC_]CONFIRMED verb. The old state is indicated by the value of the
what_rcvd parameter of the preceding
receive verb. The possible state changes are summarized in the following table.
Old State New State
Confirm Receive
Confirm_Send Send
Confirm_Deallocate Reset
4.5 MC_DEALLOCATE and DEALLOCATE
The MC_DEALLOCATE or DEALLOCATE verb deallocates a conversation between two TPs.
Before deallocating the conversation, this verb performs the equivalent of one of the following:
• The [MC_]FLUSH verb, sending the contents of the local LU’s send buffer to the partner LU (and TP).
• The [MC_]CONFIRM verb, sending the contents of the local LU’s send buffer and a confirmation request to
the partner TP. ([MC_]CONFIRM applies to half-duplex conversations only.)
After this verb has successfully executed, the conversation ID is no longer valid.
4.5.1 VCB Structure: MC_DEALLOCATE
UNIX
The definition of the VCB structure for the MC_DEALLOCATE verb is as follows:
typedef struct mc_deallocate
{
AP_UINT16 opcode;
unsigned char opext;
unsigned char format;
AP_UINT16 primary_rc;
AP_UINT32 secondary_rc;
unsigned char tp_id[8];
AP_UINT32 conv_id;
unsigned char expd_rcvd;
unsigned char dealloc_type;
unsigned char reserv4[2];
unsigned char reserv5[4];
void (*callback)();
129