1dictSetValue(3) util/dict.h dictSetValue(3)
2
3
4
6 dictSetValue - set/reset an items value.
7
9 #include <util/dict.h>
10
11
12 NEOERR *dictSetValue(dictCtx dict, const char *id, void *value);
13
14
15
16
18 dict - dictionary to add pair to.
19 id - identifier to insert/update
20 value - value to store (may NOT be NULL)
21
22
24 Updates the <id>/<value> pair into <dict>. If <id> is not in <dict>,
25 it is created.
26
27 MT-Level: Safe if <dict> thread-safe.
28
29
31 None.
32
33
35 dictReleaseLock(3), dictRemove(3), dictNext(3), dictDestroy(3),
36 dictCreate(3), dictSetValue(3), dictModifyValue(3), dictSearch(3),
37 dictCleanup
38
39
40
41ClearSilver 14 November 2006 dictSetValue(3)