
17 Dec
2014
17 Dec
'14
8:55 a.m.
On 16.12.2014 23:09, Claudio Bley wrote:
Hi.
Looking at the API docs, the virSecurityLabel is one of the undisclosed structs, making its members not publicly available.
I don't think it is. It's defined in include/libvirt/libvirt-host.h: typedef struct _virSecurityLabel { char label[VIR_SECURITY_LABEL_BUFLEN]; int enforcing; } virSecurityLabel; typedef virSecurityLabel *virSecurityLabelPtr; In fact, the commit that added virDomainGetSecurityLabel() API (0b7860ecdd855251f1) exposed the virSecurityLabel struct too. Michal