Andrew Nguyen : ipconfig: Add stub implementation.

Alexandre Julliard julliard at winehq.org
Tue Aug 17 11:31:17 CDT 2010


Module: wine
Branch: master
Commit: 6919c8dfc8b7a893fd50b89d47316b526dfc0f7b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6919c8dfc8b7a893fd50b89d47316b526dfc0f7b

Author: Andrew Nguyen <anguyen at codeweavers.com>
Date:   Mon Aug 16 02:54:00 2010 -0500

ipconfig: Add stub implementation.

---

 configure                     |    1 +
 configure.ac                  |    1 +
 programs/ipconfig/Makefile.in |   11 +++++++++++
 programs/ipconfig/ipconfig.c  |   31 +++++++++++++++++++++++++++++++
 4 files changed, 44 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index 907dbe0..844dde5 100755
--- a/configure
+++ b/configure
@@ -14905,6 +14905,7 @@ wine_fn_config_program extrac32 enable_extrac32 install
 wine_fn_config_program hh enable_hh install
 wine_fn_config_program icinfo enable_icinfo install
 wine_fn_config_program iexplore enable_iexplore install
+wine_fn_config_program ipconfig enable_ipconfig install
 wine_fn_config_program lodctr enable_lodctr install
 wine_fn_config_program mshta enable_mshta install
 wine_fn_config_program msiexec enable_msiexec installbin
diff --git a/configure.ac b/configure.ac
index 0f61046..982e6f6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2744,6 +2744,7 @@ WINE_CONFIG_PROGRAM(extrac32,install)
 WINE_CONFIG_PROGRAM(hh,install)
 WINE_CONFIG_PROGRAM(icinfo,install)
 WINE_CONFIG_PROGRAM(iexplore,install)
+WINE_CONFIG_PROGRAM(ipconfig,install)
 WINE_CONFIG_PROGRAM(lodctr,install)
 WINE_CONFIG_PROGRAM(mshta,install)
 WINE_CONFIG_PROGRAM(msiexec,installbin)
diff --git a/programs/ipconfig/Makefile.in b/programs/ipconfig/Makefile.in
new file mode 100644
index 0000000..0cd8ce6
--- /dev/null
+++ b/programs/ipconfig/Makefile.in
@@ -0,0 +1,11 @@
+EXTRADEFS = -DWINE_NO_UNICODE_MACROS
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR    = @srcdir@
+VPATH     = @srcdir@
+MODULE    = ipconfig.exe
+APPMODE   = -mconsole -municode
+
+C_SRCS = ipconfig.c
+
+ at MAKE_PROG_RULES@
diff --git a/programs/ipconfig/ipconfig.c b/programs/ipconfig/ipconfig.c
new file mode 100644
index 0000000..fc5d95c
--- /dev/null
+++ b/programs/ipconfig/ipconfig.c
@@ -0,0 +1,31 @@
+/*
+ * IP configuration utility
+ *
+ * Copyright 2010 Andrew Nguyen
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#include <windows.h>
+#include <wine/debug.h>
+#include <wine/unicode.h>
+
+WINE_DEFAULT_DEBUG_CHANNEL(ipconfig);
+
+int wmain(int argc, WCHAR *argv[])
+{
+    WINE_FIXME("ipconfig.exe is not implemented\n");
+    return 0;
+}




More information about the wine-cvs mailing list