1QB_MAP_FOREACH(3)          libqb Programmer's Manual         QB_MAP_FOREACH(3)
2
3
4

NAME

6       qb_map_foreach  -  Calls  the  given function for each of the key/value
7       pairs in the map.
8

SYNOPSIS

10       #include <qb/qbmap.h>
11
12       void qb_map_foreach(
13           qb_map_t             *map,
14           qb_map_transverse_fn  func,
15           void                 *user_data
16       );
17

DESCRIPTION

19       The function is passed the key and value of each pair,  and  the  given
20       data parameter. The map is traversed in sorted order.
21

SEE ALSO

23       qb_trie_dump(3), qb_map_iter_create(3), qb_skiplist_create(3),
24       qb_map_notify_del(3), qb_map_put(3), qb_map_count_get(3),
25       qb_map_pref_iter_create(3), qb_map_iter_next(3), qb_map_get(3),
26       qb_map_destroy(3), qb_hashtable_create(3), qb_map_iter_free(3),
27       qb_map_notify_add(3), qb_trie_create(3), qb_map_notify_del_2(3),
28       qb_map_rm(3)
29
31       Copyright (C) 2010-2020 Red Hat, Inc. All rights reserved.
32
33
34
35LIBQB                             2020-07-30                 QB_MAP_FOREACH(3)
Impressum