HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)
CPI-C Calls
Receive (cmrcv)
Chapter 3208
Call Issued in Send-Pending State
The state changes shown in Table 3-9, State Changes When the Receive
Call Is Issued in Send-Pending State, can occur when the Receive call is
issued with the conversation in Send-Pending state and the
return_code
is CM_OK.
Call Issued in Any Allowed State
The following sections summarize state changes that can occur when the
Receive call is issued in any allowed state.
Confirmation Processing
The following state changes can occur under the following conditions:
• The
return_code
is CM_OK.
• The
data_received
parameter is set to CM_DATA_RECEIVED,
CM_COMPLETE_DATA_RECEIVED, or CM_NO_DATA_RECEIVED.
CM_NO_DATA_RECEIVED CM_SEND_RECEIVED No change
Table 3-8 State Changes When the Receive Call Is Issued in Send State
data_received status_received
New state
Table 3-9 State Changes When the Receive Call Is Issued in Send-Pending
State
data_received status_received
New
state
CM_DATA_RECEIVED
CM_COMPLETE_DATA_RECEIVED
CM_INCOMPLETE_DATA_RECEIV
ED
CM_NO_STATUS_RECEIV
ED
Receive
CM_DATA_RECEIVED
CM_COMPLETE_DATA_RECEIVED
CM_SEND_RECEIVED No
change
CM_NO_DATA_RECEIVED CM_SEND_RECEIVED Send