mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 19:45:21 +00:00
a474371fc6
Introduce a new API to get libvirt version. It is worth noting, that libvirt-admin and libvirt share the same version number. Unfortunately, our existing API isn't generic enough to be used with virAdmConnectPtr as well. Also this patch wires up this API to the virt-admin client as a generic cmdVersion command.
25 lines
778 B
Plaintext
25 lines
778 B
Plaintext
#
|
|
# Officially exported symbols, for which header
|
|
# file definitions are installed in /usr/include/libvirt
|
|
# from libvirt-admin.h
|
|
#
|
|
# Versions here are *fixed* to match the libvirt version
|
|
# at which the symbol was introduced. This ensures that
|
|
# a new client app requiring symbol foo() can't accidentally
|
|
# run with old libvirt-admin.so not providing foo() - the global
|
|
# soname version info can't enforce this since we never
|
|
# change the soname
|
|
#
|
|
LIBVIRT_ADMIN_1.3.0 {
|
|
global:
|
|
virAdmConnectOpen;
|
|
virAdmConnectClose;
|
|
virAdmConnectRef;
|
|
virAdmGetVersion;
|
|
virAdmConnectIsAlive;
|
|
virAdmConnectGetURI;
|
|
virAdmConnectGetLibVersion;
|
|
virAdmConnectRegisterCloseCallback;
|
|
virAdmConnectUnregisterCloseCallback;
|
|
};
|