Author: jimtabor
Date: Wed May 23 22:36:17 2012
New Revision: 56653
URL: http://svn.reactos.org/svn/reactos?rev=56653&view=rev
Log:
- Add wine netsh, see bug 6758.
Added:
trunk/reactos/base/applications/network/netsh/
trunk/reactos/base/applications/network/netsh/CMakeLists.txt (with props)
trunk/reactos/base/applications/network/netsh/netsh.c (with props)
Modified:
trunk/reactos/base/applications/network/CMakeLists.txt
Modified: trunk/reactos/base/applications/network/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/CMakeLists.txt [iso-8859-1] Wed May 23 22:36:17 2012
@@ -5,6 +5,7 @@
add_subdirectory(ftp)
add_subdirectory(ipconfig)
add_subdirectory(net)
+add_subdirectory(netsh)
add_subdirectory(netstat)
add_subdirectory(nslookup)
add_subdirectory(ping)
Added: trunk/reactos/base/applications/network/netsh/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/netsh/CMakeLists.txt (added)
+++ trunk/reactos/base/applications/network/netsh/CMakeLists.txt [iso-8859-1] Wed May 23 22:36:17 2012
@@ -1,0 +1,10 @@
+
+add_definitions(-D__WINESRC__)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/wine)
+
+add_executable(netsh netsh.c)
+target_link_libraries(netsh wine)
+set_module_type(netsh win32cui UNICODE)
+add_importlibs(netsh msvcrt kernel32 ntdll)
+add_cd_file(TARGET netsh DESTINATION reactos/system32 FOR all)
Propchange: trunk/reactos/base/applications/network/netsh/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/base/applications/network/netsh/netsh.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/netsh/netsh.c (added)
+++ trunk/reactos/base/applications/network/netsh/netsh.c [iso-8859-1] Wed May 23 22:36:17 2012
@@ -1,0 +1,33 @@
+/*
+ * Copyright 2010 Hans Leidekker for CodeWeavers
+ *
+ * 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 "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(netsh);
+
+int wmain(int argc, WCHAR *argv[])
+{
+ int i;
+
+ WINE_FIXME("stub:");
+ for (i = 0; i < argc; i++)
+ WINE_FIXME(" %s", wine_dbgstr_w(argv[i]));
+ WINE_FIXME("\n");
+
+ return 0;
+}
Propchange: trunk/reactos/base/applications/network/netsh/netsh.c
------------------------------------------------------------------------------
svn:eol-style = native