The xa_recover() function

The xa_recover() function obtains a list of prepared transaction branches from a resource manager.

The syntax for the function is:
mint xa_recover (XID *xids,      /* IN/OUT */
                        int4 count,  /* IN */
                    mint rmid,     /* IN */
                    int4 flags)      /* IN */
Table 1. The xa_recover() parameters
Parameter Description
xids Array of the XID data structure that is defined in the xa.h file and used for the current transaction
count Size of the array defined by the count argument
rmid Unique resource manager identifier
flags TMNOFLAGS, which is the valid value.

Currently HCL Informix® does not call the xa_recover() function.