QB_MAP_PREF_ITER_CREATE(3) libqb Programmer's Manual QB_MAP_PREF_ITER_CREATE(3)

qb_map_pref_iter_create - Create a prefix iterator.

#include <qb/qbmap.h>

qb_map_iter_t * qb_map_pref_iter_create(
    qb_map_t     *map,
    const char   *prefix
);

This will iterate over all items with the given prefix.

this is only supported by the trie.

qb_trie_dump(3), qb_map_iter_create(3), qb_skiplist_create(3), qb_map_notify_del(3), qb_map_put(3), qb_map_count_get(3), qb_map_foreach(3), qb_map_iter_next(3), qb_map_get(3), qb_map_destroy(3), qb_hashtable_create(3), qb_map_iter_free(3), qb_map_notify_add(3), qb_trie_create(3), qb_map_notify_del_2(3), qb_map_rm(3)

Copyright (C) 2010-2020 Red Hat, Inc.

2021-03-03 LIBQB