tibrvcmTransport_SyncLedger()

Function

Declaration

tibrv_status tibrvcmTransport_SyncLedger(
    tibrvcmTransport    cmTransport);

Purpose

Synchronize the ledger to it its storage medium.

Remarks

When this function returns, the transport’s current state is safely stored in the ledger file.

Transports that use synchronous ledger files need not call this function, since the current state is automatically written to the file system before returning. Transports that use process-based ledger storage need not call this function, since they have no ledger file.

Parameter

Description

cmTransport

Synchronize the ledger file of this certified delivery transport object.

Errors

The error code TIBRV_INVALID_ARG can indicate that the transport does not have a ledger file.

See Also

Ledger File

tibrvcmTransport_Create()

tibrvcmTransport_GetSyncLedger()