mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
2af2bf6760
commit
62b6adfbe0
2 changed files with 34 additions and 14 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue