aboutsummaryrefslogtreecommitdiff
path: root/qemu_socket.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-09-10 10:58:38 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-09-11 10:19:48 -0500
commit62b6adfbe01e4007ce0fc2d2a99cd8771e65a1ea (patch)
tree71e4eda91ce79923c3ab9ede51ff02d0e3793a13 /qemu_socket.h
parent2af2bf6760d9b2190b5a76487577075578c475d6 (diff)
downloadqemu-62b6adfbe01e4007ce0fc2d2a99cd8771e65a1ea.zip
qemu-62b6adfbe01e4007ce0fc2d2a99cd8771e65a1ea.tar.gz
qemu-62b6adfbe01e4007ce0fc2d2a99cd8771e65a1ea.tar.bz2
sockets: add unix_listen_opts
Add unix_listen_opts(). Does the same as unix_listen(), but uses QemuOpts. unix_listen() is a compatibility wrapper for unix_listen_opts() now and should go away some day. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.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 7ca4af7..354c114 100644
--- a/qemu_socket.h
+++ b/qemu_socket.h
@@ -40,6 +40,7 @@ int inet_listen(const char *str, char *ostr, int olen,
int socktype, int port_offset);
int inet_connect(const char *str, int socktype);
+int unix_listen_opts(QemuOpts *opts);
int unix_listen(const char *path, char *ostr, int olen);
int unix_connect_opts(QemuOpts *opts);
int unix_connect(const char *path);