ExtDec_api_send_decision

The ExtDec_api_send_decision function sends a decision buffer to the RCO. If the external process is unable to return a decision, this function should be called after setting the dec_quantity field to zero in the PDC_CTRL_DECISIONS structure.

Syntax:

COR_14 ExtDec_api_send_decision

(DADDR*addr,PDC_CTRL_DECISIONS*ctrl_loc_dec,COR_STATUS*)

Input

 

addr

Address of RCO process that will receive decisions.

Ctrl_loc_dec

Pointer to structure containing a list of control decisions.

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.