qb_map_foreach(3)

qb_map_foreach3

Calls the given function for each of the key/value pairs in the map.

Usage

#include <qb/qbmap.h>

void qb_map_foreach(
    qb_map_t             *map,
    qb_map_transverse_fn  func,
    void                 *user_data
);

Overview

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

Releases

4 releases since Debian 11 (Bullseye); the text changed 3 times.

  1. 11
  2. 12
  3. 13
  4. Arch

From libqb 2.0.10-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.