At Fri, 19 Dec 2014 08:40:26 +0100, Michal Privoznik wrote: > > On 18.12.2014 22:31, Claudio Bley wrote: > > The members of struct virSecurityLabel[1] and struct > > virSecurityModel[2] were not shown in the libvirt API docs because the > > corresponding <field> elements were missing from the libvirt-api.xml. > > > > The reason is that apibuild.py does not cope well with typedef's using > > inline struct definitions. It fails to associate any info about the > > struct with the typedef and consequently cannot write out the members > > of the struct. > > > > Splitting the typedef and the struct definition into seperate > > statements as it is done for other structs works around this problem. > > > > [1]: http://libvirt.org/html/libvirt-libvirt-host.html#virSecurityLabel > > [2]: http://libvirt.org/html/libvirt-libvirt-host.html#virSecurityModel > > --- > > Seems I had to run "make" twice inside the docs folder before the changes > > were picked up. > > > > Besides, my email address has changed. If this this patch gets ACKed, > > I'd also adjust the AUTHORS file in a separate trivial patch. > > > > include/libvirt/libvirt-host.h | 14 ++++++++------ > > 1 file changed, 8 insertions(+), 6 deletions(-) > > > > ACK Thanks, pushed. -- Claudio -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list