Re: [libvirt] [PATCH] Implement forgotten backend of virInterfaceIsActive()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/14/2010 06:12 AM, Daniel P. Berrange wrote:
This causes it to return a success code in the event of either of
the cleanup paths being taken. It needs to be a tri-state return
value of  -1 (error), 0 (inactive), 1  (active)

Ah, yes. I see now that all the vir*Is<whatever>() functions that have a name implying a boolean return, actually behave as you've described. I adjusted this one accordingly, and pushed the result.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]