summaryrefslogtreecommitdiffstats
path: root/server/red_channel.h
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-11-07 13:07:35 +0200
committerAlon Levy <alevy@redhat.com>2011-02-07 19:22:44 +0200
commit74d74054934f3255e6bbacac58b7d55df6f9ae7f (patch)
treeef89f5c8cb0cef4048262ffe50e75df54a26e10e /server/red_channel.h
parentc0b7abaa486f081eb67538c7e341f43f7182be75 (diff)
downloadspice-74d74054934f3255e6bbacac58b7d55df6f9ae7f.tar.gz
spice-74d74054934f3255e6bbacac58b7d55df6f9ae7f.tar.xz
spice-74d74054934f3255e6bbacac58b7d55df6f9ae7f.zip
server/red_channel: add red_channel_receive (for red_worker)
Diffstat (limited to 'server/red_channel.h')
-rw-r--r--server/red_channel.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/server/red_channel.h b/server/red_channel.h
index 5a05b82a..68de0841 100644
--- a/server/red_channel.h
+++ b/server/red_channel.h
@@ -234,5 +234,13 @@ void red_channel_push(RedChannel *channel);
// current red_channel_shutdown also closes the socket - is there a socket to close?
// are we reading from an fd here? arghh
void red_channel_pipe_clear(RedChannel *channel);
+// Again, used in various places outside of event handler context (or in other event handler
+// contexts):
+// flush_display_commands/flush_cursor_commands
+// display_channel_wait_for_init
+// red_wait_outgoing_item
+// red_wait_pipe_item_sent
+// handle_channel_events - this is the only one that was used before, and was in red_channel.c
+void red_channel_receive(RedChannel *channel);
#endif