[libvirt] [PATCH 0/3] Rework our enum parsing

Michal Privoznik mprivozn at redhat.com
Thu Sep 17 15:31:26 UTC 2015


Only the first two patches are intended for review. The 3rd one is just an
example to show how the code base will shrink in size.

Michal Privoznik (3):
  virutil: Rename virEnum{From,To}String to virType{From,To}String
  virutil: Introduce virEnumFromString
  conf: Example for the new pattern

 src/conf/domain_conf.c   | 34 ++++++++++---------------------
 src/libvirt_private.syms |  3 ++-
 src/util/virutil.c       | 53 ++++++++++++++++++++++++++++++++++++++----------
 src/util/virutil.h       | 40 +++++++++++++++++++++++++++++-------
 4 files changed, 88 insertions(+), 42 deletions(-)

-- 
2.4.6




More information about the libvir-list mailing list