HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)
CPI-C Calls
Test_Request_to_Send_Received (cmtrts)
Chapter 3300
CM_REQ_TO_SEND_RECEIVED The partner program has
issued the Request_To_Send call,
which requests the local program to
change the conversation to Receive
state.
CM_REQ_TO_SEND_NOT_RECEIVED The partner program
has not issued the Request_To_Send
call.
This value is not relevant if the
return_code
parameter contains a value other than CM_OK.
return_code
Possible values are:
CM_OK The call executed successfully.
CM_PROGRAM_PARAMETER_CHECK The value specified by
conversation_ID
is not valid.
CM_PROGRAM_STATE_CHECK The conversation is in a
state that is not valid.
For an explanation of the following return codes, see
Appendix A, “Common Return Codes.”
CM_OPERATION_NOT_ACCEPTED
CM_PRODUCT_SPECIFIC_ERROR
State When Issued
The conversation must be in Receive, Send, Send-Pending, or
Pending-Post state.
State Change
There is no state change.