]> git.ipfire.org Git - thirdparty/libvirt.git/commit
admin: introduce virAdmGetVersion
authorErik Skultety <eskultet@redhat.com>
Thu, 26 Nov 2015 14:08:36 +0000 (15:08 +0100)
committerErik Skultety <eskultet@redhat.com>
Mon, 30 Nov 2015 08:43:46 +0000 (09:43 +0100)
commitb32f715d5b94d6ddfc621cbbe6e2e2e92cfd0373
tree667c9554e017042c0c31cecd6ebc731759827258
parentc4bdff191b8ded6b986c1c38422dede2027e5107
admin: introduce virAdmGetVersion

Unfortunately, client side version retrieval API virGetVersion uses
one-time initialization (due to the fact we might not have initialized the
library by calling connect prior to this) which is not completely compatible
with admin initialization. This API is rather simplistic and reimplementing
it for admin might be the preferred method of reusing it. Note that even though
the method will be reimplemented, the version number is still the same for both
the libvirt and libvirt-admin library.
include/libvirt/libvirt-admin.h
src/libvirt-admin.c
src/libvirt_admin_public.syms