Re: [PATCH v2 3/5] Add callback to virNetClient to be invoked on connection close

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 24, 2012 at 14:17:03 +0100, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> Allow detection of socket close in virNetClient via an callback

s/an/a/

> function, triggered on any condition that causes the socket to
> be close.

s/close/closed/

> 
> Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
> ---
>  src/libvirt_private.syms |    2 +-
>  src/rpc/virnetclient.c   |   35 +++++++++++++++++++++++++++++++----
>  src/rpc/virnetclient.h   |    9 +++++++++
>  3 files changed, 41 insertions(+), 5 deletions(-)
> 
> diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
> index 734c881..83ca99f 100644
> --- a/src/libvirt_private.syms
> +++ b/src/libvirt_private.syms
> @@ -1319,7 +1319,7 @@ virNetClientSendNoReply;
>  virNetClientSendNonBlock;
>  virNetClientSendWithReply;
>  virNetClientSendWithReplyStream;
> -virNetClientSetEOFNotify;
> +virNetClientSetCloseCallback;
>  virNetClientSetSASLSession;
>  virNetClientSetTLSSession;

Oops, how did virNetClientSetEOFNotify sneak in?

ACK

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]