ExtDec_api_init_comm

The ExtDec_api_init_comm function sends an INIT_SEG message to calling process (whose DADDR * is passed in), thereby allowing the calling process to recognize the async port address. This port will then handle the subsequent decision requests from the calling process. This routine must be called after the application calls and INIT_SEG is received from RCO.

Syntax:

COR_14 ExtDec_api_init_comm (DADDR*addr,Cor_STATUS*restat)

Input

 

Addr

Address of RCO process that send INIT_SEG.

Output

 

Restat

Pointer to status structure.

Return Value:

Either COR_SUCCESS, COR_WARNING or COR_FAILURE. If the function returns COR_WARNING or COR_FAILURE, additional error information can be found in restat.err_msg and restat.err_code.

More information

RCO external decision API functions.