On Tue, Mar 25, 2014 at 12:00:42PM +0100, Marc-André Lureau wrote: > Ok, still unused. I am not sure why this should be move higher up in > classes (why at AsyncRead it wasn't nice enough)? I've changed the log to Add reds_stream_set_async_error_handler() helper This replaces async_read_set_error_handler() which was unused. This sets a callback to be called when an async operation fails. We could pass the error_handler to each reds_stream_async_read() call, but as we will be using the same one for all async calls, it's more convenient to set it once and for all. AsyncRead is going to be private to reds_stream.c in one of the next commits, and the error handler will need to be set from reds.c, hence the move to a public RedsStream method.
Attachment:
pgpkIbZmd7kkq.pgp
Description: PGP signature
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel