From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mkgjq-0007RK-Gw for qemu-devel@nongnu.org; Mon, 07 Sep 2009 12:06:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mkgjl-0007Np-U7 for qemu-devel@nongnu.org; Mon, 07 Sep 2009 12:06:41 -0400 Received: from [199.232.76.173] (port=34949 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mkgjl-0007Nk-81 for qemu-devel@nongnu.org; Mon, 07 Sep 2009 12:06:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43719) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mkgjk-0003Uw-Ef for qemu-devel@nongnu.org; Mon, 07 Sep 2009 12:06:36 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n87G6ZLI010181 for ; Mon, 7 Sep 2009 12:06:35 -0400 From: Gerd Hoffmann Date: Mon, 7 Sep 2009 18:06:09 +0200 Message-Id: <1252339585-27797-8-git-send-email-kraxel@redhat.com> In-Reply-To: <1252339585-27797-1-git-send-email-kraxel@redhat.com> References: <1252339585-27797-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 07/23] sockets: add unix_*_opts for windows. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Add unix_*_opts function dummys for windows. Signed-off-by: Gerd Hoffmann --- qemu-sockets.c | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/qemu-sockets.c b/qemu-sockets.c index 6e212fe..0d0ce44 100644 --- a/qemu-sockets.c +++ b/qemu-sockets.c @@ -453,6 +453,18 @@ int unix_connect(const char *path) #else +int unix_listen_opts(QemuOpts *opts) +{ + fprintf(stderr, "unix sockets are not available on windows\n"); + return -1; +} + +int unix_connect_opts(QemuOpts *opts) +{ + fprintf(stderr, "unix sockets are not available on windows\n"); + return -1; +} + int unix_listen(const char *path, char *ostr, int olen) { fprintf(stderr, "unix sockets are not available on windows\n"); -- 1.6.2.5