diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-09-10 10:58:38 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-09-11 10:19:48 -0500 |
commit | 62b6adfbe01e4007ce0fc2d2a99cd8771e65a1ea (patch) | |
tree | 71e4eda91ce79923c3ab9ede51ff02d0e3793a13 /qemu_socket.h | |
parent | 2af2bf6760d9b2190b5a76487577075578c475d6 (diff) |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu_socket.h b/qemu_socket.h index 7ca4af7e0f..354c11459f 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); |