diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2011-09-17 16:27:59 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2011-12-21 15:00:24 +0100 |
commit | 993295fedc5fefaefee9ac80e057d8bf08026ef4 (patch) | |
tree | eb86d435a10c80c9b02084decd4a4dc5d1834c7b /qemu-common.h | |
parent | 3799ce4ab64f578eb818689a276e4f0c73d01fb5 (diff) |
add qemu_send_full and qemu_recv_full
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qemu-common.h')
-rw-r--r-- | qemu-common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qemu-common.h b/qemu-common.h index b2de015629..5c3f3af6aa 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -173,6 +173,10 @@ void *qemu_oom_check(void *ptr); int qemu_open(const char *name, int flags, ...); ssize_t qemu_write_full(int fd, const void *buf, size_t count) QEMU_WARN_UNUSED_RESULT; +ssize_t qemu_send_full(int fd, const void *buf, size_t count, int flags) + QEMU_WARN_UNUSED_RESULT; +ssize_t qemu_recv_full(int fd, const void *buf, size_t count, int flags) + QEMU_WARN_UNUSED_RESULT; void qemu_set_cloexec(int fd); #ifndef _WIN32 |