mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
qemu-socket: Make socket_optslist public
Allow other users to create the QemuOpts needed for inet_connect_opts(). Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
707ff8282b
commit
e62be8888a
2 changed files with 14 additions and 12 deletions
|
@ -30,6 +30,8 @@ int inet_aton(const char *cp, struct in_addr *ia);
|
|||
#include "qapi/error.h"
|
||||
#include "qapi/qmp/qerror.h"
|
||||
|
||||
extern QemuOptsList socket_optslist;
|
||||
|
||||
/* misc helpers */
|
||||
int qemu_socket(int domain, int type, int protocol);
|
||||
int qemu_accept(int s, struct sockaddr *addr, socklen_t *addrlen);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue