[libvirt] Best practices for adding an API

Laine Stump laine at laine.org
Tue Aug 16 13:21:31 UTC 2011


On 08/11/2011 04:08 PM, Eric Blake wrote:
> On 08/11/2011 09:27 AM, Peter Krempa wrote:
>> ---
>>   src/libvirt.c |  122 
>> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>   1 files changed, 122 insertions(+), 0 deletions(-)
>
> For new API, I've lately been squashing the definition (libvirt.h.in, 
> patch 2/10), backend callback (driver.h 3/10), and public 
> implementation (libvirt.c 4/10) into a single patch, since none of 
> them is very big, and since having the libvirt.c docs alongside the 
> libvirt.h.in declarations makes it easier to see what the new 
> declarations are intended to do.

Maybe a change to http://libvirt.org/api_extension.html is in order? 
Volunteers? :-)




More information about the libvir-list mailing list