Callbacks

StreamIOFunc (stream, cond, opaque)

StreamSinkFunc (stream, *user_data)

StreamSourceFunc (stream, *user_data)

Details

LibvirtGObject.StreamIOFunc(stream, cond, opaque)
Parameters:
Return type:

bool

LibvirtGObject.StreamSinkFunc(stream, *user_data)
Parameters:
Returns:

the number of bytes filled, 0 upon end of file, or -1 upon error

buf:

data pointer

Return type:

(int, buf: [str])

LibvirtGObject.StreamSourceFunc(stream, *user_data)
Parameters:
Returns:

the number of bytes filled, 0 upon end of file, or -1 upon error

buf:

data pointer

Return type:

(int, buf: [str])