> # eXtremeDB/rt Real-time API

> The eXtremeDB/rt API consists of the following RT-specific functions and a sub-set of eXtremeDB API marked with "RT" (for example: mco_trans_commit()).

> mco_rollback_buf_info()
> This function fills in the mco_rollback_buf_info_t structure passed via rb_info.
> mco_trans_rt_start()
> This function initiates a transaction for the database.
> mco_trans_rt_register_callback()
> The function registers a callback function that is called by the database kernel at the cancelation points.
> mco_trans_rt_set_params()
> This function configures runtime options that affect the behavior of the current transaction.
> mco_trans_rt_deadline_check()
> This function is a pre-defined callback implementation that indicates to the database kernel that the application is using the adaptable deadline policy.
> mco_rt_get_remaining_time()
> This function returns the time in milliseconds left until the deadline expires.
> mco_trans_rt_estimate_rollback_time()
> This function returns the time in milliseconds required to roll back the current transaction.
> mco_trans_get_current()
> This function returns the handle to the active transaction.
> mco_trans_get_start_time()
> This function returns the clock start time.
> mco_trans_end()
> Ends the current transaction.
> mco_get_last_error()
> Returns the value of the last return code from an function that caused a transaction to enter an error state.
> mco_trans_set_error()
> Sets error state for the transaction.
> mco_trans_rt_start()
> This function initiates a transaction for the database.
> mco_open_file_rt()
> Open a file using a device-specific I/O implementation, with optional real-time deadline awareness.