[Openais] [PATCH] Remove old objdb calls

Christine Caulfield ccaulfie at redhat.com
Tue Aug 19 05:11:35 PDT 2008


This patch removes the disliked *_from calls from the objdb and recasts
the confdb library to use the new find_create/find_next/find_destroy API
calls instead.

I've kept the libcondfb API the same as before with the single change of
adding a confdb_object_find_destroy to tidy up the find handle after
use. If you don't call this then libcondfb will do it for you when
confdb_finalize is called.

NOTE: the confdb plugin does NOT keep a track of find handles at the
moment ... but then object_find destroy does nothing either so it's not
exacerbating anything ;-)


Chrissie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: corosync-tidy-objdb.patch
Type: text/x-patch
Size: 28313 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/openais/attachments/20080819/15fbf723/attachment-0001.bin 


More information about the Openais mailing list