NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
pmemset_first_part_map() - reads first mapping from a set pmemset_next_part_map() - reads next mapping from a set
#include <libpmemset.h>
struct pmemset;
struct pmemset_part_map;
void pmemset_first_part_map(struct pmemset *set, struct pmemset_part_map **pmap);
void pmemset_next_part_map(struct pmemset *set, struct pmemset_part_map *cur,
struct pmemset_part_map **next)
The pmemset_first_part_map() function reads first mapping from the set. The pmemset_next_part_map() function reads from the set a mapping that succeeds the mapping provided in the cur variable. The set parameter points to the structure describing a set created with pmemset_new(3) function. Pointer to the retrieved mapping object in the set is stored in the user-provided variable via the pmap or next pointer depending on the used function.
The pmemset_first_part_map() does not return any value. *pmap is set to NULL on failure.
The pmemset_next_part_map() does not return any value. *next is set to NULL on failure.
pmemset_new(3), libpmemset(7) and http://pmem.io
The contents of this web site and the associated GitHub repositories are BSD-licensed open source.