From 62b6adfbe01e4007ce0fc2d2a99cd8771e65a1ea Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 10 Sep 2009 10:58:38 +0200 Subject: 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 Signed-off-by: Anthony Liguori --- qemu_socket.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qemu_socket.h') diff --git a/qemu_socket.h b/qemu_socket.h index 7ca4af7e0..354c11459 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); -- cgit v1.2.3