[dbus PATCH v2 0/9] Remove all enum->string and string->enum code

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

 



Changes from v1:
 * Added the three last patches

Katerina Koukiou (9):
  Abandon usage of all *TypeToString functions in domain.c
  Abandon usage of all *TypeToString functions in connect.c
  Abandon usage of all *TypeToString functions in network.c
  Change DomainEvent argument from string to unsigned int
  Change NetworkEvent argument from string to unsigned int
  Remove virtDBusUtilEnum{From,From}String functions
  Remove reason to string translation in virtDBusEventsDomainTrayChange
  Remove state to string translation in virtDBusDomainGetState
  Remove reason to string translation in virtDBusEventsDomainDiskChange

 data/org.libvirt.Connect.xml |   6 +-
 data/org.libvirt.Domain.xml  |  20 ++---
 data/org.libvirt.Network.xml |   6 +-
 src/connect.c                |  18 +---
 src/domain.c                 | 203 ++++---------------------------------------
 src/events.c                 |  72 ++-------------
 src/network.c                |  66 +-------------
 src/util.c                   |  27 ------
 src/util.h                   |  28 ------
 tests/libvirttest.py         |  32 +++++++
 tests/test_connect.py        |  24 +++--
 tests/test_domain.py         |  46 ++++++----
 tests/test_network.py        |  20 +++--
 13 files changed, 131 insertions(+), 437 deletions(-)

-- 
2.15.0

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

  Powered by Linux