aboutsummaryrefslogtreecommitdiff
path: root/qemu_socket.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-09-21 12:36:48 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2011-12-22 11:53:58 +0100
commit128aa58947637b0989330c2e6a22a824d39e2193 (patch)
treea0e66b9499084abf822721d095094a904b3b4b83 /qemu_socket.h
parent3777b09fd75ba746cf65d0ba30d73a5dd7a02d65 (diff)
move corking functions to osdep.c
Signed-off-by: Paolo Bonzini <pbonzini@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 9e32fac651..fe4cf6ca61 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);
+int socket_set_cork(int fd, int v);
void socket_set_block(int fd);
void socket_set_nonblock(int fd);
int send_all(int fd, const void *buf, int len1);