HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)
CPI-C Calls
Initialize_For_Incoming (cminic)
Chapter 3192
Initialize_For_Incoming (cminic)
For Unix The Initialize_For_Incoming call is issued by the invoked program to
obtain an 8-byte conversation ID. The program then accepts the
conversation using the Accept_Incoming call.
Issuing Initialize_For_Incoming followed by Accept_Incoming is
equivalent to issuing Accept_Conversation. The difference is that
Set_Processing_Mode can be issued between Initialize_For_Incoming
and Accept_Incoming to ensure that Accept_Incoming operates in
nonblocking mode, whereas Accept_Conversation always operates in
blocking mode.
Function Call
void cminic (
unsigned char CM_PTR conversation_ID,
CM_RETURN_CODE CM_PTR return_code
);
Function Call for Java CPI-C
public native void cminic (
byte[] conversation_ID,
CPICReturnCode return_code
);
Supplied Parameters
There are no supplied parameters for this call.
Returned Parameters
After the verb executes, SNAplus2 returns the following parameters:
conversation_ID
This is the identiļ¬er for the conversation. It is used by
subsequent CPI-C calls.
return_code
Possible values are:
CM_OK The call executed successfully.