summaryrefslogtreecommitdiffstats
path: root/server/red_channel.h
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-11-12 10:42:25 +0200
committerAlon Levy <alevy@redhat.com>2011-03-02 17:27:53 +0200
commit7890b623b55cba6e0b3e99322d377633d94127d6 (patch)
tree4541c4cf8372a3fc5622984a4517849a41b9f707 /server/red_channel.h
parentaa5d23fdecaec827ab0f7fc736e31ef1ffd6502e (diff)
downloadspice-7890b623b55cba6e0b3e99322d377633d94127d6.tar.gz
spice-7890b623b55cba6e0b3e99322d377633d94127d6.tar.xz
spice-7890b623b55cba6e0b3e99322d377633d94127d6.zip
server/red_channel: add red_channel_disconnect, use in red_worker
replace channel_release_res in red_worker with red_channel_disconnect.
Diffstat (limited to 'server/red_channel.h')
-rw-r--r--server/red_channel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/red_channel.h b/server/red_channel.h
index d08b661a..15c3b3c5 100644
--- a/server/red_channel.h
+++ b/server/red_channel.h
@@ -286,6 +286,8 @@ void red_channel_pipe_clear(RedChannel *channel);
// handle_channel_events - this is the only one that was used before, and was in red_channel.c
void red_channel_receive(RedChannel *channel);
void red_channel_send(RedChannel *channel);
+// For red_worker
+void red_channel_disconnect(RedChannel *channel);
/* accessors for RedChannel */
/* Note: the valid times to call red_channel_get_marshaller are just during send_item callback. */