summaryrefslogtreecommitdiffstats
path: root/migration/yank_functions.h
blob: a7577955ed67c3f79eb3c8d14d00d4a5aa82fa53 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * migration yank functions
 *
 * Copyright (c) Lukas Straub <lukasstraub2@web.de>
 *
 * This work is licensed under the terms of the GNU GPL, version 2 or later.
 * See the COPYING file in the top-level directory.
 */

/**
 * migration_yank_iochannel: yank function for iochannel
 *
 * This yank function will call qio_channel_shutdown on the provided QIOChannel.
 *
 * @opaque: QIOChannel to shutdown
 */
void migration_yank_iochannel(void *opaque);
void migration_ioc_register_yank(QIOChannel *ioc);
void migration_ioc_unregister_yank(QIOChannel *ioc);
void migration_ioc_unregister_yank_from_file(QEMUFile *file);