From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MlfUy-0005Ys-4p for qemu-devel@nongnu.org; Thu, 10 Sep 2009 04:59:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MlfUr-0005Tl-Pn for qemu-devel@nongnu.org; Thu, 10 Sep 2009 04:59:22 -0400 Received: from [199.232.76.173] (port=49335 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlfUr-0005TR-BX for qemu-devel@nongnu.org; Thu, 10 Sep 2009 04:59:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50556) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MlfUq-0007WE-I0 for qemu-devel@nongnu.org; Thu, 10 Sep 2009 04:59:17 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8A8x64V019909 for ; Thu, 10 Sep 2009 04:59:06 -0400 From: Gerd Hoffmann Date: Thu, 10 Sep 2009 10:58:39 +0200 Message-Id: <1252573135-27688-8-git-send-email-kraxel@redhat.com> In-Reply-To: <1252573135-27688-1-git-send-email-kraxel@redhat.com> References: <1252573135-27688-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH v2 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