summaryrefslogtreecommitdiff
path: root/server/red-channel.h
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-02-24 20:15:36 +0100
committerFrediano Ziglio <fziglio@redhat.com>2016-03-10 11:36:52 +0000
commita65304401123c98987c3f5df7f9778bb2c991b1f (patch)
treef157ff182bba2d9ead208fda24403453dbcad11b /server/red-channel.h
parent3484b739a9585861b801981343c560b065960056 (diff)
Rename red_channel_pipe_item_init to pipe_item_init
The RedChannel argument is not used by pipe_item_init. Removing it will make code simpler in places where we don't have a RedChannel directly available. This is acting on a PipeItem object so correct name is pipe_item_init. Acked-by: Pavel Grunt <pgrunt@redhat.com>
Diffstat (limited to 'server/red-channel.h')
-rw-r--r--server/red-channel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/red-channel.h b/server/red-channel.h
index 2d61bc5b..7c1c95db 100644
--- a/server/red-channel.h
+++ b/server/red-channel.h
@@ -476,7 +476,7 @@ int red_channel_client_get_roundtrip_ms(RedChannelClient *rcc);
*/
void red_channel_client_start_connectivity_monitoring(RedChannelClient *rcc, uint32_t timeout_ms);
-void red_channel_pipe_item_init(RedChannel *channel, PipeItem *item, int type);
+void pipe_item_init(PipeItem *item, int type);
// TODO: add back the channel_pipe_add functionality - by adding reference counting
// to the PipeItem.