On Tue, 2009-12-08 at 13:58 -0500, Dmitri Pal wrote: > Simo Sorce wrote: > > On Tue, 2009-12-08 at 13:26 -0500, John Dennis wrote: > > > >> On 12/08/2009 01:08 PM, Simo Sorce wrote: > >> > >>> A delete callback may need to get information beyond the single hash > >>> entry. Pass in a private pointer so the caller can pass whatever private > >>> context to the delete callback. > >>> > >>> Simo. > >>> > >> Am I missing something? This doesn't address Dmitri's issue. > >> > > > > It does indirectly. > > Now that you have a private pointer you can easily add data in there to > > tell the next hash_delete what it should do with the data. > > > > Simo. > > > > > Patch makes sense but I think you need to update the comments in the > header to describe the use of the private context parameter.
Ah right, good catch! Simo. -- Simo Sorce * Red Hat, Inc * New York _______________________________________________ sssd-devel mailing list sssd-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/sssd-devel