diff options
author | Kevin Wolf <kwolf@redhat.com> | 2013-03-15 17:14:24 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-03-22 17:51:31 +0100 |
commit | e62be8888a83aa0ab7f50eeb954deb2ec4e7201d (patch) | |
tree | a70d86acc83870db62399b720d9eb22699495f26 /include | |
parent | 707ff8282b66bb9471e253fe5f17b74576d36825 (diff) | |
download | hqemu-e62be8888a83aa0ab7f50eeb954deb2ec4e7201d.zip hqemu-e62be8888a83aa0ab7f50eeb954deb2ec4e7201d.tar.gz |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/qemu/sockets.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/qemu/sockets.h b/include/qemu/sockets.h index ae5c21c..21846f9 100644 --- a/include/qemu/sockets.h +++ b/include/qemu/sockets.h @@ -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); |