diff options
author | Alon Levy <alevy@redhat.com> | 2011-04-10 21:51:58 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-08-23 17:46:30 +0300 |
commit | 22084c4703282699a34dfb72f3c6318159ddcedf (patch) | |
tree | fb5749096c6cebe488d4ceff2a46f639e5876460 /server/main_channel.h | |
parent | 2550e825ecf2e63b142a0f6c97b9bd6e3869feb2 (diff) | |
download | spice-22084c4703282699a34dfb72f3c6318159ddcedf.tar.gz spice-22084c4703282699a34dfb72f3c6318159ddcedf.tar.xz spice-22084c4703282699a34dfb72f3c6318159ddcedf.zip |
server/main_channel+reds: make main_channel_init return MainChannelClient
This makes it easier to introduce RedClient in the next patch.
Diffstat (limited to 'server/main_channel.h')
-rw-r--r-- | server/main_channel.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/main_channel.h b/server/main_channel.h index 31da7201..a82e07c2 100644 --- a/server/main_channel.h +++ b/server/main_channel.h @@ -48,7 +48,7 @@ typedef struct MainChannel MainChannel; Channel *main_channel_init(void); /* This is a 'clone' from the reds.h Channel.link callback */ -RedChannelClient *main_channel_link(struct Channel *, +MainChannelClient *main_channel_link(struct Channel *, RedsStream *stream, int migration, int num_common_caps, uint32_t *common_caps, int num_caps, uint32_t *caps); void main_channel_close(MainChannel *main_chan); // not destroy, just socket close @@ -59,10 +59,10 @@ void main_channel_push_agent_disconnected(MainChannel *main_chan); void main_channel_push_tokens(MainChannel *main_chan, uint32_t num_tokens); void main_channel_push_agent_data(MainChannel *main_chan, uint8_t* data, size_t len, spice_marshaller_item_free_func free_data, void *opaque); -void main_channel_start_net_test(RedChannelClient *rcc); +void main_channel_start_net_test(MainChannelClient *mcc); // TODO: huge. Consider making a reds_* interface for these functions // and calling from main. -void main_channel_push_init(RedChannelClient *rcc, int connection_id, int display_channels_hint, +void main_channel_push_init(MainChannelClient *mcc, int connection_id, int display_channels_hint, int current_mouse_mode, int is_client_mouse_allowed, int multi_media_time, int ram_hint); void main_channel_push_notify(MainChannel *main_chan, uint8_t *mess, const int mess_len); |