HP-UX SNAplus2 R7 APPC Programmer's Guide
APPC Conversation Verbs
MC_RECEIVE_AND_POST and RECEIVE_AND_POST
} MC_RECEIVE_AND_POST;
4.10.4 VCB Structure: RECEIVE_AND_POST (Windows)
The definition of the VCB structure for the RECEIVE_AND_POST verb is as follows:
typedef struct receive_and_post
{
unsigned short opcode;
unsigned char opext;
unsigned char reserv2;
unsigned short primary_rc;
unsigned long secondary_rc;
unsigned char tp_id[8];
unsigned long conv_id;
unsigned short what_rcvd;
unsigned char rtn_status;
unsigned char fill;
unsigned char rts_rcvd;
unsigned char reserv4;
unsigned short max_len;
unsigned short dlen;
unsigned char far *dptr;
unsigned char far *sema;
unsigned char reserv5;
} RECEIVE_AND_POST;
4.10.5 Supplied Parameters
The TP supplies the following parameters to APPC:
opcode
Possible values are:
AP_M_RECEIVE_AND_POST
For the MC_RECEIVE_AND_POST verb.
AP_B_RECEIVE_AND_POST
For the RECEIVE_AND_POST verb.
opext
Possible values are:
AP_MAPPED_CONVERSATION
For the MC_RECEIVE_AND_POST verb.
AP_BASIC_CONVERSATION
For the RECEIVE_AND_POST verb.
tp_id
Identifier for the local TP.
The value of this parameter was returned by the TP_STARTED verb in the invoking TP or by RE-
CEIVE_ALLOCATE in the invoked TP.
162