Author: akhaldi
Date: Tue Jul 26 22:05:26 2011
New Revision: 52906
URL:
http://svn.reactos.org/svn/reactos?rev=52906&view=rev
Log:
[NSLOOKUP]
* Use nslookup.h as a PCH.
Modified:
trunk/reactos/base/applications/network/nslookup/CMakeLists.txt
trunk/reactos/base/applications/network/nslookup/nslookup.c
trunk/reactos/base/applications/network/nslookup/nslookup.h
trunk/reactos/base/applications/network/nslookup/utility.c
Modified: trunk/reactos/base/applications/network/nslookup/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/nslookup/CMakeLists.txt [iso-8859-1]
(original)
+++ trunk/reactos/base/applications/network/nslookup/CMakeLists.txt [iso-8859-1] Tue Jul
26 22:05:26 2011
@@ -4,6 +4,7 @@
utility.c
nslookup.rc)
+add_pch(nslookup nslookup.h)
set_module_type(nslookup win32cui)
add_importlibs(nslookup user32 ws2_32 snmpapi iphlpapi msvcrt kernel32)
add_cd_file(TARGET nslookup DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/network/nslookup/nslookup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/nslookup/nslookup.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/nslookup/nslookup.c [iso-8859-1] Tue Jul 26
22:05:26 2011
@@ -6,13 +6,6 @@
* COPYRIGHT: Copyright 2009 Lucas Suggs <lucas.suggs(a)gmail.com>
*/
-#include <windows.h>
-#include <windns.h>
-#include <winsock2.h>
-#include <tchar.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <iphlpapi.h>
#include "nslookup.h"
STATE State;
Modified: trunk/reactos/base/applications/network/nslookup/nslookup.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/nslookup/nslookup.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/nslookup/nslookup.h [iso-8859-1] Tue Jul 26
22:05:26 2011
@@ -1,3 +1,11 @@
+#include <windows.h>
+#include <windns.h>
+#include <winsock2.h>
+#include <tchar.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <iphlpapi.h>
+
#define TypeA "A"
#define TypeAAAA "AAAA"
#define TypeBoth "A+AAAA"
Modified: trunk/reactos/base/applications/network/nslookup/utility.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/nslookup/utility.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/nslookup/utility.c [iso-8859-1] Tue Jul 26
22:05:26 2011
@@ -6,9 +6,6 @@
* COPYRIGHT: Copyright 2009 Lucas Suggs <lucas.suggs(a)gmail.com>
*/
-#include <windows.h>
-#include <tchar.h>
-#include <stdio.h>
#include "nslookup.h"
BOOL SendRequest( PCHAR pInBuffer,