dictSetValue(3)

dictSetValue3

Set/reset an items value.

Usage

#include <util/dict.h>
NEOERR *dictSetValue(dictCtx dict, const char *id, void *value);

Arguments

dict - dictionary to add pair to.
id - identifier to insert/update
value - value to store (may NOT be NULL)

Overview

Updates the <id>/<value> pair into <dict>. If <id> is not in <dict>, it is created.

MT-Level: Safe if <dict> thread-safe.

Return value

None.

Releases

10 releases since Debian 4.0 (Etch); the text changed 2 times.

  1. 4.0
  2. 5.0
  3. 6.0–13

From clearsilver-dev 0.10.5-6+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.