dictCleanup
dictCleanup
Section: util/dict.h (3) Updated: 12 July 2007 Local index
Up
NAME
dictCleanup - cleanup dictionary
SYNOPSIS
#include <util/dict.h>
void dictCleanup(dictCtx dict, dictCleanupFunc cleanup, void *rock);
ARGUMENTS
dict - dictionary to cleanup
cleanup - cleanup callback
rock - to pass to <cleanup>
DESCRIPTION
Calls <cleanup> for every item in <dict>. If <cleanup>
returns true, then item is removed from <dict>.
MT-Level: Safe if <dict> thread-safe.
RETURN VALUE
None.
SEE ALSO
dictDestroy(3), dictCleanup(3), dictReleaseLock(3), dictRemove(3), dictNext(3), dictCreate(3), dictSetValue(3), dictModifyValue(3), dictSearch
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
- RETURN VALUE
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 21:45:00 GMT, April 16, 2011