diff options
author | David Turner <digit@android.com> | 2010-09-09 21:16:39 +0200 |
---|---|---|
committer | David 'Digit' Turner <digit@android.com> | 2010-09-13 00:30:34 -0700 |
commit | a12820ef4aff2e2f6d3db9b704abee2c54d08f40 (patch) | |
tree | e8d837fbbf37c83a52fabaeb2febee1d4dd59a0c /hw | |
parent | b8fec3e556b0d1b2a66c76d6ec0a9b242baa1068 (diff) | |
download | external_qemu-a12820ef4aff2e2f6d3db9b704abee2c54d08f40.zip external_qemu-a12820ef4aff2e2f6d3db9b704abee2c54d08f40.tar.gz external_qemu-a12820ef4aff2e2f6d3db9b704abee2c54d08f40.tar.bz2 |
upstream: buffered file minor change.
Diffstat (limited to 'hw')
-rw-r--r-- | hw/hw.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -41,7 +41,8 @@ QEMUFile *qemu_fopen_ops(void *opaque, QEMUFilePutBufferFunc *put_buffer, QEMUFileGetBufferFunc *get_buffer, QEMUFileCloseFunc *close, QEMUFileRateLimit *rate_limit, - QEMUFileSetRateLimit *set_rate_limit); + QEMUFileSetRateLimit *set_rate_limit, + QEMUFileGetRateLimit *get_rate_limit); QEMUFile *qemu_fopen(const char *filename, const char *mode); QEMUFile *qemu_fopen_socket(int fd); QEMUFile *qemu_popen(FILE *popen_file, const char *mode); @@ -77,6 +78,7 @@ unsigned int qemu_get_be32(QEMUFile *f); uint64_t qemu_get_be64(QEMUFile *f); int qemu_file_rate_limit(QEMUFile *f); size_t qemu_file_set_rate_limit(QEMUFile *f, size_t new_rate); +size_t qemu_file_get_rate_limit(QEMUFile *f); int qemu_file_has_error(QEMUFile *f); void qemu_file_set_error(QEMUFile *f); |