blob: a7577955ed67c3f79eb3c8d14d00d4a5aa82fa53 [file] [log] [blame]
Lukas Straub1a92d6d2021-03-23 18:52:42 +01001/*
2 * migration yank functions
3 *
4 * Copyright (c) Lukas Straub <lukasstraub2@web.de>
5 *
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
8 */
9
10/**
11 * migration_yank_iochannel: yank function for iochannel
12 *
13 * This yank function will call qio_channel_shutdown on the provided QIOChannel.
14 *
15 * @opaque: QIOChannel to shutdown
16 */
17void migration_yank_iochannel(void *opaque);
Peter Xu18711402021-07-22 13:58:39 -040018void migration_ioc_register_yank(QIOChannel *ioc);
19void migration_ioc_unregister_yank(QIOChannel *ioc);
Peter Xu39675ff2021-07-22 13:58:41 -040020void migration_ioc_unregister_yank_from_file(QEMUFile *file);