Callbacks¶
|
|
|
|
|
Details¶
- LibvirtGObject.StreamIOFunc(stream, cond, opaque)¶
- Parameters:
stream (
LibvirtGObject.Stream
) –cond (
LibvirtGObject.StreamIOCondition
) –
- Return type:
- LibvirtGObject.StreamSinkFunc(stream, *user_data)¶
- Parameters:
stream (
LibvirtGObject.Stream
) – aLibvirtGObject.Stream
user_data (
object
orNone
) – user data passed to the function
- Returns:
the number of bytes filled, 0 upon end of file, or -1 upon error
- buf:
data pointer
- Return type:
- LibvirtGObject.StreamSourceFunc(stream, *user_data)¶
- Parameters:
stream (
LibvirtGObject.Stream
) – aLibvirtGObject.Stream
user_data (
object
orNone
) – user data passed to the function
- Returns:
the number of bytes filled, 0 upon end of file, or -1 upon error
- buf:
data pointer
- Return type: