mirror of
https://github.com/reactos/reactos.git
synced 2025-05-18 16:51:18 +00:00
- Add wine netsh, see bug 6758.
svn path=/trunk/; revision=56653
This commit is contained in:
parent
7429f3cc4c
commit
f770056aa3
3 changed files with 44 additions and 0 deletions
|
@ -5,6 +5,7 @@ add_subdirectory(finger)
|
|||
add_subdirectory(ftp)
|
||||
add_subdirectory(ipconfig)
|
||||
add_subdirectory(net)
|
||||
add_subdirectory(netsh)
|
||||
add_subdirectory(netstat)
|
||||
add_subdirectory(nslookup)
|
||||
add_subdirectory(ping)
|
||||
|
|
10
reactos/base/applications/network/netsh/CMakeLists.txt
Normal file
10
reactos/base/applications/network/netsh/CMakeLists.txt
Normal file
|
@ -0,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)
|
33
reactos/base/applications/network/netsh/netsh.c
Normal file
33
reactos/base/applications/network/netsh/netsh.c
Normal file
|
@ -0,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;
|
||||
}
|
Loading…
Reference in a new issue