migration: Introduce migration_ioc_[un]register_yank()
[qemu.git] / migration / yank_functions.h
blob74c7f18c9196e600ab82172f3736f46cf3331905
1 /*
2 * migration yank functions
4 * Copyright (c) Lukas Straub <lukasstraub2@web.de>
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 */
10 /**
11 * migration_yank_iochannel: yank function for iochannel
13 * This yank function will call qio_channel_shutdown on the provided QIOChannel.
15 * @opaque: QIOChannel to shutdown
17 void migration_yank_iochannel(void *opaque);
18 void migration_ioc_register_yank(QIOChannel *ioc);
19 void migration_ioc_unregister_yank(QIOChannel *ioc);