2 * QEMU buffered QEMUFile
4 * Copyright IBM, Corp. 2008
7 * Anthony Liguori <aliguori@us.ibm.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.
14 #ifndef QEMU_BUFFERED_FILE_H
15 #define QEMU_BUFFERED_FILE_H
18 #include "migration.h"
20 typedef void (BufferedWaitForUnfreezeFunc
)(void *opaque
);
21 typedef int (BufferedCloseFunc
)(void *opaque
);
23 QEMUFile
*qemu_fopen_ops_buffered(MigrationState
*migration_state
,
25 BufferedWaitForUnfreezeFunc
*wait_for_unfreeze
,
26 BufferedCloseFunc
*close
);