From 3854956ad7ea0a4a29f434a026eeea9bae250d0d Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Wed, 28 Feb 2018 12:05:15 +0100 Subject: migration: Export functions to create send channels Signed-off-by: Juan Quintela Reviewed-by: Daniel P. Berrangé --- migration/socket.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'migration/socket.h') diff --git a/migration/socket.h b/migration/socket.h index 6b91e9db38..528c3b0202 100644 --- a/migration/socket.h +++ b/migration/socket.h @@ -16,6 +16,13 @@ #ifndef QEMU_MIGRATION_SOCKET_H #define QEMU_MIGRATION_SOCKET_H + +#include "io/channel.h" +#include "io/task.h" + +void socket_send_channel_create(QIOTaskFunc f, void *data); +int socket_send_channel_destroy(QIOChannel *send); + void tcp_start_incoming_migration(const char *host_port, Error **errp); void tcp_start_outgoing_migration(MigrationState *s, const char *host_port, -- cgit v1.2.3-55-g7522