Re: [libvirt PATCH 04/10] remote: consistently use flags for passing ro/user/autostart props

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

 



On 5/26/21 11:16 AM, Ján Tomko wrote:
On a Wednesday in 2021, Daniel P. Berrangé wrote:
We have helper methods that return boolans for ro/user/autostart

booleans (or bools if you want to be pedantic)

properties. We then pack them into a flags parameter, and later
unpack them again. This makes te code consistently use flags

*the

Jano

throughout.

Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
---
src/remote/remote_driver.c     | 16 ++++-----------
src/remote/remote_sockets.c    | 37 ++++++++++++++++------------------
src/remote/remote_sockets.h    |  6 ++----
src/remote/remote_ssh_helper.c | 13 ++++++------
4 files changed, 30 insertions(+), 42 deletions(-)




[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]

  Powered by Linux