aboutsummaryrefslogtreecommitdiff
path: root/qemu_socket.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-10-05 09:17:32 +0200
committerKevin Wolf <kwolf@redhat.com>2011-10-21 17:34:12 +0200
commit154b9a0cbd67be53afcb45ae84a240add8c6cb67 (patch)
tree70f98a37b189f326a79a0987d2b31b6b15f465f4 /qemu_socket.h
parentd8716b41b9bd2c7ce6fe36ab388de534ce81a69a (diff)
add socket_set_block
Cc: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu_socket.h')
-rw-r--r--qemu_socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu_socket.h b/qemu_socket.h
index 180e4dbd9b..9e32fac651 100644
--- a/qemu_socket.h
+++ b/qemu_socket.h
@@ -35,6 +35,7 @@ int inet_aton(const char *cp, struct in_addr *ia);
/* misc helpers */
int qemu_socket(int domain, int type, int protocol);
int qemu_accept(int s, struct sockaddr *addr, socklen_t *addrlen);
+void socket_set_block(int fd);
void socket_set_nonblock(int fd);
int send_all(int fd, const void *buf, int len1);