diff options
author | Alon Levy <alevy@redhat.com> | 2010-11-10 09:28:39 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-03-02 17:27:52 +0200 |
commit | a05628bf061f5c0bcbd1221f8a990487210060de (patch) | |
tree | 3c13fe0ca151e5420f8260d390a2b1996aac4afb /server/red_channel.c | |
parent | 6b862596460802aff0604f16bb3e77c524512e84 (diff) | |
download | spice-a05628bf061f5c0bcbd1221f8a990487210060de.tar.gz spice-a05628bf061f5c0bcbd1221f8a990487210060de.tar.xz spice-a05628bf061f5c0bcbd1221f8a990487210060de.zip |
server/red_channel (all): add red_channel_get_stream
use in config_socket, this makes the stream internal to the RedChannel
implementation that will change later for multiple client support.
Diffstat (limited to 'server/red_channel.c')
-rw-r--r-- | server/red_channel.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/server/red_channel.c b/server/red_channel.c index 5749dc35..f8944c01 100644 --- a/server/red_channel.c +++ b/server/red_channel.c @@ -706,7 +706,13 @@ void red_channel_ack_set_client_window(RedChannel *channel, int client_window) channel->ack_data.client_window = client_window; } +/* accessors for RedChannel */ SpiceMarshaller *red_channel_get_marshaller(RedChannel *channel) { return channel->send_data.marshaller; } + +RedsStream *red_channel_get_stream(RedChannel *channel) +{ + return channel->stream; +} |