[libvirt] [libvirt-gconfig PATCHv2 10/32] Add gvir_config_genum_get_nick helper

Daniel P. Berrange berrange at redhat.com
Tue Nov 22 12:57:54 UTC 2011


On Mon, Nov 21, 2011 at 07:04:07PM +0100, Christophe Fergeau wrote:
> We will often need to convert from an enum to its string
> representation, add an helper for that to avoid duplicating that
> code.
> 
> --
> v2: moved before gvir_config_clock_set_offset implementation since
> it needs it
> ---
>  libvirt-gconfig/libvirt-gconfig-helpers-private.h |    1 +
>  libvirt-gconfig/libvirt-gconfig-helpers.c         |   17 +++++++++++++++++
>  2 files changed, 18 insertions(+), 0 deletions(-)

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list