HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)
CPI-C Calls
Set_Conversation_Type (cmsct)
Chapter 3244
Set_Conversation_Type (cmsct)
The Set_Conversation_Type call is issued by the invoking program to
define a conversation as being mapped or basic. This call overrides the
default conversation type establishedby the Initialize_Conversation call.
The default conversation type is CM_MAPPED_CONVERSATION. This
call cannot be issued after the Allocate has been issued.
Function Call
void cmsct (
unsigned char CM_PTR conversation_ID,
CM_CONVERSATION_TYPE CM_PTR conversation_type,
CM_RETURN_CODE CM_PTR return_code
);
Function Call for Java CPI-C
public native void cmsct (
byte[] conversation_ID,
CPICConversationType conversation_type,
CPICReturnCode return_code
);
Supplied Parameters
The supplied parameters are:
conversation_ID
This is the identifier for the conversation. The value of
this parameter is returned by the
Initialize_Conversation call.
conversation_type
This parameter specifies the type of conversation to
be allocated by the Allocate call. Possible values are:
CM_BASIC_CONVERSATION
CM_MAPPED_CONVERSATION