Callback Functions

Callback functions are user-defined functions that are registered with the eXtremeDB runtime, which will then call the registered function when the appropriate condition occurs. Please use the links below to view descriptions of the various callback functions:

mco_error_handler
Is called by the runtime (if registered) when a fatal error occurs.
mco_error_handler_ex
Is called by the runtime (if registered) when a fatal error occurs.
mco_stream_writer
Is called by the runtime if specified in an API such as mco_db_save().
mco_stream_reader
Is called by the runtime if specified in an API such as mco_db_load().
mco_trans_iterator_callback
Is used by the mco_trans_iterate() API as a transaction iterator callback function.
mco_calc_handlers
Provides database calculator callback handlers.
mco_sniffer_callback
Is called by the mco_db_sniffer() API.
mco_alloc_callback
Provides a callback for dynamic memory allocation.
mco_alloc_callback_threshold_kind_t
Is required for calls to mco_register_alloc_callback() or mco_register_disk_alloc_callback().
mco_collation_funcs_t
Provides a structure for collation functions.
mco_compare_collation
Provides a collation comparison function.
mco_hash_collation
Provides a collation hash function.
mco_trans_callback
Is called when a transaction is committed or rolled back.