util: Reorder parts of virresctrl
util: Reorder parts of virresctrl

Move description of the purpose of the file before any definition.

One empty line between related enum definitions.

All typedefs before all structs.  This is exception from the usual, but not the
only one, we already have something similar for some other structs.  This way we
can move contents between structs and reorder some parts nicely without moving
all definitions of one type before another one just so it's defined.

Define all classes in one place.

Have one initialization function for all classes in the file.

Signed-off-by: Martin Kletzander <e82f23e74d43760279ebcc505dac4ae70d5627d0@redhat.com>
Reviewed-by: Ján Tomko <4cab11cfb98d3c937327354a78eb07dbb6ee2bc6@redhat.com>

crobinso/libvirt,nertpinx/libvirt,crobinso/libvirt,nertpinx/libvirt,zippy2/libvirt,nertpinx/libvirt,jfehlig/libvirt,andreabolognani/libvirt,jfehlig/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,eskultety/libvirt,libvirt/libvirt,eskultety/libvirt,zippy2/libvirt,jardasgit/libvirt,jardasgit/libvirt,eskultety/libvirt,crobinso/libvirt,andreabolognani/libvirt,nertpinx/libvirt,jardasgit/libvirt,jardasgit/libvirt,eskultety/libvirt,libvirt/libvirt,olafhering/libvirt,jardasgit/libvirt,zippy2/libvirt,olafhering/libvirt,olafhering/libvirt,libvirt/libvirt,andreabolognani/libvirt,eskultety/libvirt,fabianfreyer/libvirt,olafhering/libvirt,jfehlig/libvirt,andreabolognani/libvirt,zippy2/libvirt,jfehlig/libvirt,fabianfreyer/libvirt,crobinso/libvirt,andreabolognani/libvirt,libvirt/libvirt