• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
dictCleanup 3 "12 July 2007" "ClearSilver" "util/dict.h"
..
..
NAME
dictCleanup - cleanup dictionary
SYNOPSIS
.Ss #include <util/dict.h> .Se .Ss void dictCleanup(dictCtx dict, dictCleanupFunc cleanup, void *rock); .Se
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