typedef int (*libmem_foreach_driver_fn_t)(libmem_driver_handle_t *h);
libmem_foreach_driver_fn_t is a function pointer to a function handling a libmem_foreach_driver call.
h — A pointer to the handle of the LIBMEM driver.
libmem_foreach_driver_fn_t returns — The LIBMEM status result. If any value other than LIBMEM_STATUS_SUCCESS is returned from this function the libmem_foreach_driver function will terminate and return the response.