1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-10-18 03:33:51 +03:00

admin: Introduce virAdmClientClose API

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>
This commit is contained in:
Erik Skultety
2016-04-28 10:26:25 +02:00
parent 37675f6b66
commit c22ac618b5
9 changed files with 67 additions and 1 deletions

View File

@@ -59,4 +59,7 @@ int adminClientGetInfo(virNetServerClientPtr client,
int *nparams,
unsigned int flags);
int adminClientClose(virNetServerClientPtr client,
unsigned int flags);
#endif /* __LIBVIRTD_ADMIN_SERVER_H__ */