From dd4339c540285b3a0904c631f8174a59d04be767 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Mon, 17 Apr 2017 17:07:04 +0200 Subject: migration: Split migration/channel.c for channel operations Create an include for its exported functions. Signed-off-by: Juan Quintela Reviewed-by: Dr. David Alan Gilbert --- Add proper header --- migration/channel.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 migration/channel.h (limited to 'migration/channel.h') diff --git a/migration/channel.h b/migration/channel.h new file mode 100644 index 0000000000..2e0a7e33cc --- /dev/null +++ b/migration/channel.h @@ -0,0 +1,27 @@ +/* + * QEMU live migration channel operations + * + * Copyright Red Hat, Inc. 2016 + * + * Authors: + * Daniel P. Berrange + * + * This work is licensed under the terms of the GNU GPL, version 2. See + * the COPYING file in the top-level directory. + * + * Contributions after 2012-01-13 are licensed under the terms of the + * GNU GPL, version 2 or (at your option) any later version. + */ + +#ifndef QEMU_MIGRATION_CHANNEL_H +#define QEMU_MIGRATION_CHANNEL_H + +#include "io/channel.h" + +void migration_channel_process_incoming(MigrationState *s, + QIOChannel *ioc); + +void migration_channel_connect(MigrationState *s, + QIOChannel *ioc, + const char *hostname); +#endif -- cgit v1.2.1