From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T60oS-0006Xv-1N for qemu-devel@nongnu.org; Mon, 27 Aug 2012 11:01:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T60oC-0005gc-JM for qemu-devel@nongnu.org; Mon, 27 Aug 2012 11:01:11 -0400 Received: from mail-ey0-f173.google.com ([209.85.215.173]:39158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T60oC-0005bG-AP for qemu-devel@nongnu.org; Mon, 27 Aug 2012 11:00:56 -0400 Received: by mail-ey0-f173.google.com with SMTP id c13so1273715eaa.4 for ; Mon, 27 Aug 2012 08:00:55 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Mon, 27 Aug 2012 17:00:23 +0200 Message-Id: <1346079626-16386-11-git-send-email-pbonzini@redhat.com> In-Reply-To: <1346079626-16386-1-git-send-email-pbonzini@redhat.com> References: <1346079626-16386-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [RFC PATCH 10/13] qemu-sockets: make inet_parse public List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, stefanha@gmail.com Signed-off-by: Paolo Bonzini --- qemu-sockets.c | 2 +- qemu_socket.h | 1 + 2 file modificati, 2 inserzioni(+). 1 rimozione(-) diff --git a/qemu-sockets.c b/qemu-sockets.c index b292311..7a28715 100644 --- a/qemu-sockets.c +++ b/qemu-sockets.c @@ -407,7 +407,7 @@ err: } /* compatibility wrapper */ -static int inet_parse(QemuOpts *opts, const char *str) +int inet_parse(QemuOpts *opts, const char *str) { const char *optstr, *h; char addr[64]; diff --git a/qemu_socket.h b/qemu_socket.h index c87ee57..e4cb6b1 100644 --- a/qemu_socket.h +++ b/qemu_socket.h @@ -41,6 +41,7 @@ void socket_set_nonblock(int fd); int send_all(int fd, const void *buf, int len1); /* New, ipv6-ready socket helper functions, see qemu-sockets.c */ +int inet_parse(QemuOpts *opts, const char *str); int inet_listen_opts(QemuOpts *opts, int port_offset, Error **errp); int inet_listen(const char *str, char *ostr, int olen, int socktype, int port_offset, Error **errp); -- 1.7.11.2