#include <lqr.h>
The list value should be obtained through the function lqr_vmap_list_start(3).
The function func is of type LqrVMapFunc, whose prototype is defined by:
typedef LqrRetVal (*LqrVMapFunc) (LqrVMap *vmap, gpointer data);
The data argument is of type gpointer, which is just a pointer to void.
LqrRetVal(3), lqr_vmap_list_start(3), lqr_vmap_list_current(3), lqr_vmap_list_next(3), lqr_vmap_internal_dump(3), lqr_carver_set_dump_vmaps(3)