[Spice-devel] [PATCH spice-gtk] channel: rely on couroutine instead of channel state
Marc-André Lureau
marcandre.lureau at gmail.com
Fri Nov 30 12:17:37 PST 2012
On Fri, Nov 30, 2012 at 9:12 PM, Marc-André Lureau <
marcandre.lureau at gmail.com> wrote:
> spice_channel_send_link(channel);
> + spice_channel_recv_link_hdr(channel);
> + spice_channel_recv_link_msg(channel);
> + spice_channel_recv_auth(channel);
>
At this point I am tempted to make just one function channel_handle_link().
The current function splitting is not really necessary, and looks weird:
the client actually also sends messages in those functions...
--
Marc-André Lureau
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20121130/74057207/attachment.html>
More information about the Spice-devel
mailing list