1dictCreate(3) util/dict.h dictCreate(3)
2
3
4
6 dictCreate - create new dictionary.
7
9 #include <util/dict.h>
10
11
12 NEOERR *dictCreate(dictCtx *dict, BOOL threaded, UINT32 root, UINT32 maxLevel,
13 UINT32 flushLimit, BOOL useCase,
14 dictFreeValueFunc freeValue, void *freeRock);
15
16
17
18
20 threaded - true if list should be thread-safe.
21 root - performance parameter (see above).
22 maxLevel - performance parameter (see above).
23 flushLimit - max deleted items to keep cached before
24 forcing a flush.
25 useCase - true to be case sensitive in identifiers
26 freeValue - callback when freeing a value
27 freeRock - context for freeValue callback
28
29
31 Returns a dictionary. If <threaded> is true, list is multi-thread
32 safe. <root>, <maxLevel>, and <flushLimit> act as for skipNewList()
33 (see skiplist.h)
34
35 MT-Level: Safe.
36
37
39 None.
40
41
43 dictDestroy(3), dictCleanup(3), dictReleaseLock(3), dictRemove(3),
44 dictNext(3), dictCreate(3), dictSetValue(3), dictModifyValue(3), dict‐
45 Search
46
47
48
49ClearSilver 12 July 2007 dictCreate(3)