1dictCleanup(3) util/dict.h dictCleanup(3)
2
3
4
6 dictCleanup - cleanup dictionary
7
9 #include <util/dict.h>
10
11
12 void dictCleanup(dictCtx dict, dictCleanupFunc cleanup, void *rock);
13
14
15
16
18 dict - dictionary to cleanup
19 cleanup - cleanup callback
20 rock - to pass to <cleanup>
21
22
24 Calls <cleanup> for every item in <dict>. If <cleanup> returns true,
25 then item is removed from <dict>.
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 dictCleanup(3)