typedef int(* libmem_driver_flush_fn_t)(libmem_driver_handle_t *h)
 

A function pointer to a LIBMEM driver's flush function.

Parameters:
h   A pointer to the handle of the LIBMEM driver.
Returns:
The LIBMEM status result.
The driver's flush function should complete any outstanding memory operations (if any) and return the memory to read mode.

If this operation is not required the function should return LIBMEM_STATUS_SUCCESS.