aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-31 18:44:40 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-31 18:44:40 +0000
commit0e82f34d077dc254249edea9262174b1d3b44a01 (patch)
treeb1956876aa8df8dd127391c88dc07af53e9960a0 /qemu_socket.h
parentIncrease default IO timeout from 10ms to 5s (diff)
downloadqemu-kvm-0e82f34d077dc254249edea9262174b1d3b44a01.tar.gz
qemu-kvm-0e82f34d077dc254249edea9262174b1d3b44a01.tar.bz2
qemu-kvm-0e82f34d077dc254249edea9262174b1d3b44a01.zip
Move some declarations around in the QEMU CharDriver code
The goal of this series is to move the CharDriverState code out of vl.c and into its own file, qemu-char.c. This patch moves around some declarations so the next patch can be pure code motion. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5579 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'qemu_socket.h')
-rw-r--r--qemu_socket.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/qemu_socket.h b/qemu_socket.h
index f8817bf86..18488ddc6 100644
--- a/qemu_socket.h
+++ b/qemu_socket.h
@@ -28,9 +28,15 @@ int inet_aton(const char *cp, struct in_addr *ia);
#define socket_error() errno
#define closesocket(s) close(s)
+int parse_unix_path(struct sockaddr_un *uaddr, const char *str);
+
#endif /* !_WIN32 */
void socket_set_nonblock(int fd);
int parse_host_port(struct sockaddr_in *saddr, const char *str);
+int parse_host_src_port(struct sockaddr_in *haddr,
+ struct sockaddr_in *saddr,
+ const char *str);
+int send_all(int fd, const uint8_t *buf, int len1);
#endif /* QEMU_SOCKET_H */