mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-28 08:35:22 +00:00
c924965b24
Similarly to what virsh virt-login-shell do, call virAdmInitialize prior to
initializing an event loop and initializing the error handler. Commit 97973ebb7
described and fixed an identical issue for libvirt_lxc.
Since virAdmInitialize becomes a public API after applying this patch,
the symbol is also added to public syms and the doc string of the method is
slightly enhanced analogically to virInitialize.
Signed-off-by: Erik Skultety <eskultet@redhat.com>
42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
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_2.0.0 {
|
|
global:
|
|
virAdmInitialize;
|
|
virAdmClientFree;
|
|
virAdmClientGetID;
|
|
virAdmClientGetTimestamp;
|
|
virAdmClientGetTransport;
|
|
virAdmConnectOpen;
|
|
virAdmConnectClose;
|
|
virAdmConnectRef;
|
|
virAdmGetVersion;
|
|
virAdmConnectIsAlive;
|
|
virAdmConnectGetURI;
|
|
virAdmConnectGetLibVersion;
|
|
virAdmConnectRegisterCloseCallback;
|
|
virAdmConnectUnregisterCloseCallback;
|
|
virAdmConnectListServers;
|
|
virAdmServerGetName;
|
|
virAdmServerGetThreadPoolParameters;
|
|
virAdmServerFree;
|
|
virAdmServerLookupClient;
|
|
virAdmConnectLookupServer;
|
|
virAdmServerSetThreadPoolParameters;
|
|
virAdmServerListClients;
|
|
virAdmClientGetInfo;
|
|
virAdmClientClose;
|
|
virAdmServerGetClientLimits;
|
|
virAdmServerSetClientLimits;
|
|
};
|