This API copies an existing transaction instance and returns a copy of the instance with all the commands for users to save the commands and use them at a later point.
Prototype
u8 * XAie_ExportSerializedTransaction(XAie_DevInst *DevInst, u8 NumConsumers, u32 Flags);
Parameters
The following table lists the XAie_ExportSerializedTransaction
function arguments.
Type | Member | Description |
---|---|---|
XAie_DevInst * | DevInst | Device instance pointer. |
u8 | NumConsumers | Number of consumers for the generated transactions (Unused for now) |
u32 | Flags | Flags (Unused for now) |
Returns
Pointer to copy of transaction instance on success andNULL
on error.