summaryrefslogtreecommitdiffstats
path: root/server/red_channel.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2011-02-09 21:44:45 +0100
committerMarc-André Lureau <marcandre.lureau@redhat.com>2011-02-28 16:36:35 +0100
commit76dc27f08a15bd2cb0e0f536972e361e6d7acc25 (patch)
treed44181ebb3408f1573b9e782e2f23d5704d1518a /server/red_channel.h
parent1a4923c2107c89314714718ca1431d232cc23edf (diff)
downloadspice-76dc27f08a15bd2cb0e0f536972e361e6d7acc25.tar.gz
spice-76dc27f08a15bd2cb0e0f536972e361e6d7acc25.tar.xz
spice-76dc27f08a15bd2cb0e0f536972e361e6d7acc25.zip
server: rename s/peer/stream
This is stylish change again. We are talking about a RedStream object, so let's just name the variable "stream" everywhere, to avoid confusion with a non existent RedPeer object. https://bugs.freedesktop.org/show_bug.cgi?id=34795
Diffstat (limited to 'server/red_channel.h')
-rw-r--r--server/red_channel.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/red_channel.h b/server/red_channel.h
index fd9ce370..a23a6181 100644
--- a/server/red_channel.h
+++ b/server/red_channel.h
@@ -114,7 +114,7 @@ typedef void (*channel_on_incoming_error_proc)(RedChannel *channel);
typedef void (*channel_on_outgoing_error_proc)(RedChannel *channel);
struct RedChannel {
- RedsStream *peer;
+ RedsStream *stream;
SpiceCoreInterface *core;
int migrate;
int handle_acks;
@@ -160,7 +160,7 @@ struct RedChannel {
/* if one of the callbacks should cause disconnect, use red_channel_shutdown and don't
explicitly destroy the channel */
-RedChannel *red_channel_create(int size, RedsStream *peer,
+RedChannel *red_channel_create(int size, RedsStream *stream,
SpiceCoreInterface *core,
int migrate, int handle_acks,
channel_configure_socket_proc config_socket,
@@ -174,7 +174,7 @@ RedChannel *red_channel_create(int size, RedsStream *peer,
/* alternative constructor, meant for marshaller based (inputs,main) channels,
* will become default eventually */
-RedChannel *red_channel_create_parser(int size, RedsStream *peer,
+RedChannel *red_channel_create_parser(int size, RedsStream *stream,
SpiceCoreInterface *core,
int migrate, int handle_acks,
channel_configure_socket_proc config_socket,