On 10/11/2012 12:46 AM, Viktor Mihajlovski wrote: > On 10/10/2012 11:23 PM, Eric Blake wrote: >> >> Are you interested in writing patches to implement this new API, if >> others agree with my alternate single-API signature? >> > > actually, I started to write up my proposal with the signature you > suggested :-). A second thought was that having a function to retrieve > the number only might be convenient here and there.
Retrieving only the number is useful, but it is also easy with a single API - have the API return the number always, and allow the user to pass NULL instead of the location where libvirt would normally malloc() the result. -- Eric Blake ebl...@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list