]> git.ipfire.org Git - thirdparty/libvirt.git/commit
python: Implement virStreamSend/RecvAll helpers
authorCole Robinson <crobinso@redhat.com>
Wed, 15 Jun 2011 20:54:16 +0000 (16:54 -0400)
committerCole Robinson <crobinso@redhat.com>
Tue, 21 Jun 2011 14:08:47 +0000 (10:08 -0400)
commit3b04871e80af1f7046e53f7430b5e42ea13309f6
treea4f9127e3af2d95ad66ab4f2ad9eb1e3ca5f227c
parentca55dc598ccae47070f063b0ca290dc34e9c6a95
python: Implement virStreamSend/RecvAll helpers

Pure python implementation. The handler callbacks have been altered
a bit compared to the C API: RecvAll doesn't pass length of the data read
since that can be trivially obtained from python string objects, and SendAll
requires the handler to return the string data to send rather than
store the data in a string pointer.
python/generator.py
python/libvirt-override-virStream.py