mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Once we're able to list and identify all clients connected to a specific server, we can then support force-closing a connection. This patch introduces a simple API calling virNetServerClientClose on a specific client, which can be later extended easily, e.g. by sending an event once the client is disconnected successfully. Signed-off-by: Erik Skultety <eskultet@redhat.com>
39 lines
1.2 KiB
Plaintext
39 lines
1.2 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_1.3.0 {
|
|
global:
|
|
virAdmClientFree;
|
|
virAdmClientGetID;
|
|
virAdmClientGetTimestamp;
|
|
virAdmClientGetTransport;
|
|
virAdmConnectOpen;
|
|
virAdmConnectClose;
|
|
virAdmConnectRef;
|
|
virAdmGetVersion;
|
|
virAdmConnectIsAlive;
|
|
virAdmConnectGetURI;
|
|
virAdmConnectGetLibVersion;
|
|
virAdmConnectRegisterCloseCallback;
|
|
virAdmConnectUnregisterCloseCallback;
|
|
virAdmConnectListServers;
|
|
virAdmServerGetName;
|
|
virAdmServerGetThreadPoolParameters;
|
|
virAdmServerFree;
|
|
virAdmServerLookupClient;
|
|
virAdmConnectLookupServer;
|
|
virAdmServerSetThreadPoolParameters;
|
|
virAdmServerListClients;
|
|
virAdmClientGetInfo;
|
|
virAdmClientClose;
|
|
};
|