From 591f39e7ccd1f9b5ba1839c937883970e1bfefdb Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Thu, 29 Oct 2015 16:54:43 -0500 Subject: common_channel_client_create -> common_channel_new_client Rename and re-order the initial arguments to make this function look and act more like a method of the CommonChannel class. Signed-off-by: Jonathon Jongsma Acked-by: Frediano Ziglio --- server/red_worker.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'server/red_worker.h') diff --git a/server/red_worker.h b/server/red_worker.h index c828d999..795959dc 100644 --- a/server/red_worker.h +++ b/server/red_worker.h @@ -118,17 +118,6 @@ RedWorker* red_worker_new(QXLInstance *qxl, RedDispatcher *red_dispatcher); bool red_worker_run(RedWorker *worker); QXLInstance* red_worker_get_qxl(RedWorker *worker); -CommonChannelClient *common_channel_client_create(int size, - CommonChannel *common, - RedClient *client, - RedsStream *stream, - int mig_target, - int monitor_latency, - uint32_t *common_caps, - int num_common_caps, - uint32_t *caps, - int num_caps); - RedChannel *__new_channel(RedWorker *worker, int size, uint32_t channel_type, int migration_flags, channel_disconnect_proc on_disconnect, @@ -140,4 +129,15 @@ RedChannel *__new_channel(RedWorker *worker, int size, uint32_t channel_type, channel_handle_migrate_data_proc handle_migrate_data, channel_handle_migrate_data_get_serial_proc migrate_get_serial); +CommonChannelClient *common_channel_new_client(CommonChannel *common, + int size, + RedClient *client, + RedsStream *stream, + int mig_target, + int monitor_latency, + uint32_t *common_caps, + int num_common_caps, + uint32_t *caps, + int num_caps); + #endif -- cgit