[libvirt PATCH 04/10] remote: consistently use flags for passing ro/user/autostart props
Laine Stump
laine at redhat.com
Thu May 27 16:54:37 UTC 2021
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 at redhat.com>
>> ---
>> 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(-)
More information about the libvir-list
mailing list