dictSetValue man page

dictSetValue — set/reset an items value.

Synopsis

#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)

Description

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

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

See Also

dictDestroy(3), dictCleanup(3), dictReleaseLock(3), dictRemove(3), dictNext(3), dictCreate(3), dictSetValue(3), dictModifyValue(3), dictSearch

Referenced By

dictCleanup(3), dictCreate(3), dictDestroy(3), dictModifyValue(3), dictNext(3), dictReleaseLock(3), dictRemove(3), dictSearch(3).

12 July 2007 ClearSilver util/dict.h