summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-02-11 16:47:49 +0200
committerAlon Levy <alevy@redhat.com>2011-03-02 17:27:50 +0200
commitce3efca360086ab79d1b2828bec44197353a8d37 (patch)
tree5325f556effbad10349e0cbca3e2d7ce0205a961 /server
parent73858b93dccf595652f1b1e86fea1d0e7e9e153b (diff)
downloadspice-ce3efca360086ab79d1b2828bec44197353a8d37.tar.gz
spice-ce3efca360086ab79d1b2828bec44197353a8d37.tar.xz
spice-ce3efca360086ab79d1b2828bec44197353a8d37.zip
server/red_channe: make hold_item take a channel arg
Diffstat (limited to 'server')
-rw-r--r--server/inputs_channel.c2
-rw-r--r--server/main_channel.c2
-rw-r--r--server/red_channel.c2
-rw-r--r--server/red_channel.h2
-rw-r--r--server/red_tunnel_worker.c2
-rw-r--r--server/smartcard.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/server/inputs_channel.c b/server/inputs_channel.c
index 551da27e..ce532caf 100644
--- a/server/inputs_channel.c
+++ b/server/inputs_channel.c
@@ -508,7 +508,7 @@ static int inputs_channel_config_socket(RedChannel *channel)
return TRUE;
}
-static void inputs_channel_hold_pipe_item(PipeItem *item)
+static void inputs_channel_hold_pipe_item(RedChannel *channel, PipeItem *item)
{
}
diff --git a/server/main_channel.c b/server/main_channel.c
index d24c7aa0..64048daa 100644
--- a/server/main_channel.c
+++ b/server/main_channel.c
@@ -776,7 +776,7 @@ static int main_channel_config_socket(RedChannel *channel)
return TRUE;
}
-static void main_channel_hold_pipe_item(PipeItem *item)
+static void main_channel_hold_pipe_item(RedChannel *channel, PipeItem *item)
{
}
diff --git a/server/red_channel.c b/server/red_channel.c
index b077bcd4..7bc1b688 100644
--- a/server/red_channel.c
+++ b/server/red_channel.c
@@ -465,7 +465,7 @@ void red_channel_init_send_data(RedChannel *channel, uint16_t msg_type, PipeItem
channel->send_data.header->type = msg_type;
channel->send_data.item = item;
if (item) {
- channel->hold_item(item);
+ channel->hold_item(channel, item);
}
}
diff --git a/server/red_channel.h b/server/red_channel.h
index a23a6181..fb5af99c 100644
--- a/server/red_channel.h
+++ b/server/red_channel.h
@@ -107,7 +107,7 @@ typedef void (*channel_release_msg_recv_buf_proc)(RedChannel *channel,
typedef void (*channel_disconnect_proc)(RedChannel *channel);
typedef int (*channel_configure_socket_proc)(RedChannel *channel);
typedef void (*channel_send_pipe_item_proc)(RedChannel *channel, PipeItem *item);
-typedef void (*channel_hold_pipe_item_proc)(PipeItem *item);
+typedef void (*channel_hold_pipe_item_proc)(RedChannel *channel, PipeItem *item);
typedef void (*channel_release_pipe_item_proc)(RedChannel *channel,
PipeItem *item, int item_pushed);
typedef void (*channel_on_incoming_error_proc)(RedChannel *channel);
diff --git a/server/red_tunnel_worker.c b/server/red_tunnel_worker.c
index da44cfe5..2e6a336d 100644
--- a/server/red_tunnel_worker.c
+++ b/server/red_tunnel_worker.c
@@ -3420,7 +3420,7 @@ static void on_new_tunnel_channel(TunnelChannel *channel)
}
}
-static void tunnel_channel_hold_pipe_item(PipeItem *item)
+static void tunnel_channel_hold_pipe_item(RedChannel *channel, PipeItem *item)
{
}
diff --git a/server/smartcard.c b/server/smartcard.c
index d890372c..6afa7cd2 100644
--- a/server/smartcard.c
+++ b/server/smartcard.c
@@ -465,7 +465,7 @@ static int smartcard_channel_handle_message(RedChannel *channel, SpiceDataHeader
return TRUE;
}
-static void smartcard_channel_hold_pipe_item(PipeItem *item)
+static void smartcard_channel_hold_pipe_item(RedChannel *channel, PipeItem *item)
{
}