eXtremeDB/rt Flash Simulator API

mco_open_flash_media
Opens a flash media device
mco_flashsim_open
Initializes the flash simulator and returns a pointer to the media interface
mco_flashsim_close
Closes the flash simulator
mco_flashsim_get_stat
Retrieves the statistics of the flash simulator
mco_flashsim_print_stat
Prints the statistics of the flash simulator to stdout
mco_flashsim_save_image
Saves the simulator state image to a file
mco_flashsim_media_context
Returns the media context of the flash simulator
mco_flashsim_memory_size
Returns the size of the memory segment calculated based on the flash simulator parameters
mco_get_media_context
Retrieve the custom media context associated with a file-based device