trq_check_backup()

trq_check_backup()#

trq_check_backup() performs a backup operation on the queue if necessary.

Prototype

int trq_check_backup(
    tr_queue trq
);

Parameters

Key

Type

Description

trq

tr_queue

The queue instance to check and perform backup if needed.


Return Value

Returns 0 on success, or a negative value if an error occurs.

Notes

This function ensures that the queue’s backup mechanism is triggered when required.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples