]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Introduce virConnectIsAlive API
authorJiri Denemark <jdenemar@redhat.com>
Fri, 23 Sep 2011 06:47:59 +0000 (08:47 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 24 Nov 2011 11:00:10 +0000 (12:00 +0100)
commitafdf014f4ff16fcf55647cfbbd0d9d74d355ec82
tree3dfbc46a93477058ee1f6b13a002e3b7528860f7
parent2fb1362883c72bc8d2779ac1fb214bb0b906cc0a
Introduce virConnectIsAlive API

This API can be used to check if the socket associated with
virConnectPtr is still open or it was closed (probably because keepalive
protocol timed out). If there the connection is local (i.e., no socket
is associated with the connection, it is trivially always alive.
include/libvirt/libvirt.h.in
src/driver.h
src/libvirt.c
src/libvirt_public.syms