aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2013-03-15 17:14:24 +0100
committerKevin Wolf <kwolf@redhat.com>2013-03-22 17:51:31 +0100
commite62be8888a83aa0ab7f50eeb954deb2ec4e7201d (patch)
treea70d86acc83870db62399b720d9eb22699495f26 /include
parent707ff8282b66bb9471e253fe5f17b74576d36825 (diff)
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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/qemu/sockets.h b/include/qemu/sockets.h
index ae5c21cba3..21846f9886 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);