Synopsis
typedef int (*libmem_foreach_sector_fn_t)(libmem_driver_handle_t *h, libmem_sector_info_t *sector_info);
Description

libmem_foreach_sector_fn_t is a function pointer to a function handling a libmem_foreach_sector or libmem_foreach_sector_in_range call.

h — A pointer to the handle of the LIBMEM driver.

sector_info — A pointer to the sector information.

libmem_foreach_sector_fn_t returns — The LIBMEM status result. If any value other than LIBMEM_STATUS_SUCCESS is returned from this function the libmem_foreach_sector or libmem_foreach_sector_in_range functions will terminate and return the response.