mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-12-18 20:24:58 +03:00
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.
This commit is contained in:
@@ -393,8 +393,8 @@ skip_function = (
|
||||
'virFreeError', # Only needed if we use virSaveLastError
|
||||
|
||||
'virStreamFree', # Overridden in libvirt-override-virStream.py
|
||||
'virStreamRecvAll', # XXX: Can be written in pure python?
|
||||
'virStreamSendAll', # XXX: Can be written in pure python?
|
||||
'virStreamRecvAll', # Pure python libvirt-override-virStream.py
|
||||
'virStreamSendAll', # Pure python libvirt-override-virStream.py
|
||||
'virStreamRecv', # overridden in libvirt-override-virStream.py
|
||||
'virStreamSend', # overridden in libvirt-override-virStream.py
|
||||
|
||||
|
||||
Reference in New Issue
Block a user