#572 COLLECTION Add capability to delete the collection providing a callback
Closed: Fixed Opened by dpal.

If the collection contains some binary data to clear it one has to traverse the collection twice. Once to delete the values and another to delete the collection itself.
This enhancement calls for one stop shop operation:
- for each element of the collection call a callback
- delete the element

This is an optimization that will help with the performance and would reduce the amount of code needed when the collections are used to store binary data.


Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.6.0

Fields changed

milestone: SSSD 1.6.0 => Tools 1.0

Fields changed

rhbz: => 0

It is in tree. Can't find a commit but it was done at least a year ago.
See collection.h function called col_destroy_collection_with_cb().

blockedby: =>
blocking: =>
coverity: =>
feature_milestone: =>
milestone: Tools Backlog => Tools 1.0
patch: => 0
resolution: => fixed
status: new => closed

Metadata Update from @dpal:
- Issue assigned to dpal
- Issue set to the milestone: Tools 1.0

Metadata