]> Git Repo - qemu.git/blob - migration/yank_functions.c
osdep: protect qemu/osdep.h with extern "C"
[qemu.git] / migration / yank_functions.c
1 /*
2  * migration yank functions
3  *
4  * Copyright (c) Lukas Straub <[email protected]>
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 #include "qemu/osdep.h"
11 #include "qapi/error.h"
12 #include "io/channel.h"
13 #include "yank_functions.h"
14
15 void migration_yank_iochannel(void *opaque)
16 {
17     QIOChannel *ioc = QIO_CHANNEL(opaque);
18
19     qio_channel_shutdown(ioc, QIO_CHANNEL_SHUTDOWN_BOTH, NULL);
20 }
This page took 0.029892 seconds and 4 git commands to generate.