mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-26 20:03:54 -06:00
qemu-file: Remove _noflush from qemu_file_transferred_noflush()
qemu_file_transferred() don't exist anymore, so we can reuse the name. Reviewed-by: Fabiano Rosas <farosas@suse.de> Signed-off-by: Juan Quintela <quintela@redhat.com> Message-ID: <20231025091117.6342-7-quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
parent
e833cad7e7
commit
e9c0eed7c2
5 changed files with 12 additions and 13 deletions
|
@ -34,15 +34,14 @@ QEMUFile *qemu_file_new_output(QIOChannel *ioc);
|
|||
int qemu_fclose(QEMUFile *f);
|
||||
|
||||
/*
|
||||
* qemu_file_transferred_noflush:
|
||||
* qemu_file_transferred:
|
||||
*
|
||||
* As qemu_file_transferred except for writable files, where no flush
|
||||
* is performed and the reported amount will include the size of any
|
||||
* queued buffers, on top of the amount actually transferred.
|
||||
* No flush is performed and the reported amount will include the size
|
||||
* of any queued buffers, on top of the amount actually transferred.
|
||||
*
|
||||
* Returns: the total bytes transferred and queued
|
||||
*/
|
||||
uint64_t qemu_file_transferred_noflush(QEMUFile *f);
|
||||
uint64_t qemu_file_transferred(QEMUFile *f);
|
||||
|
||||
/*
|
||||
* put_buffer without copying the buffer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue