Re: [PATCH]: Add another portion virStream bindings (C# bindings, libvirt-csharp.git)

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

 



2011/7/14 Anthony Fox <a.podavalov@xxxxxxxxx>:
>
>

ACK and applied, thanks. The comment to virStreamRecv misses two lines
in the <returns> block, so I'm squashing this in (this diff will
probably come through mangled because of the long lines)

diff --git a/Stream.cs b/Stream.cs
index b349605..d824726 100644
--- a/Stream.cs
+++ b/Stream.cs
@@ -109,6 +109,8 @@ namespace Libvirt
                /// size of @data buffer
                /// </param>
                /// <returns>
+               /// the number of bytes read, which may be less than
requested.Returns 0 when the end of the stream
+               /// is reached, at which time the caller should invoke
virStreamFinish() to get confirmation of stream
                /// completion. Returns -1 upon error, at which time
the stream will be marked as aborted,
                /// and the caller should now release the stream with
virStreamFree. Returns -2 if there is no
                /// data pending to be read & the stream is marked as
non-blocking.

-- 
Matthias Bolte
http://photron.blogspot.com

--
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]