slirp: Add sanity check for str option length
[qemu/ar7.git] / migration / channel.h
blob67a461c28a4ec46819c773ef320fff3e21eeab09
1 /*
2 * QEMU live migration channel operations
4 * Copyright Red Hat, Inc. 2016
6 * Authors:
7 * Daniel P. Berrange <berrange@redhat.com>
9 * This work is licensed under the terms of the GNU GPL, version 2. See
10 * the COPYING file in the top-level directory.
12 * Contributions after 2012-01-13 are licensed under the terms of the
13 * GNU GPL, version 2 or (at your option) any later version.
16 #ifndef QEMU_MIGRATION_CHANNEL_H
17 #define QEMU_MIGRATION_CHANNEL_H
19 #include "io/channel.h"
21 void migration_channel_process_incoming(QIOChannel *ioc);
23 void migration_channel_connect(MigrationState *s,
24 QIOChannel *ioc,
25 const char *hostname,
26 Error *error_in);
27 #endif