summaryrefslogtreecommitdiffstats
path: root/server/red_channel.h
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-11-09 16:00:49 +0200
committerAlon Levy <alevy@redhat.com>2011-03-02 17:27:51 +0200
commit8002a30f9ce4b8cbd00f5ff8ded6f72a297a2240 (patch)
treed5c068bfd7644b05404161f9089c533b4ffafa1e /server/red_channel.h
parent9e46945a6189cff9a41b79b2bca70f0aacc60305 (diff)
downloadspice-8002a30f9ce4b8cbd00f5ff8ded6f72a297a2240.tar.gz
spice-8002a30f9ce4b8cbd00f5ff8ded6f72a297a2240.tar.xz
spice-8002a30f9ce4b8cbd00f5ff8ded6f72a297a2240.zip
server/red_channel (all): add red_channel_get_marshaller
For ussage in the send_item callback. It's only valid during this time anyway (should make it return NULL in other occasions?) No more direct usage of RedChannel.send_data.marshaller by channels.
Diffstat (limited to 'server/red_channel.h')
-rw-r--r--server/red_channel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/red_channel.h b/server/red_channel.h
index 8e01c7a4..50e67893 100644
--- a/server/red_channel.h
+++ b/server/red_channel.h
@@ -256,5 +256,6 @@ 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);
+SpiceMarshaller *red_channel_get_marshaller(RedChannel *channel);
#endif