Author: akhaldi
Date: Fri Dec 27 10:31:09 2013
New Revision: 61440
URL:
http://svn.reactos.org/svn/reactos?rev=61440&view=rev
Log:
[SCHANNEL]
* Create a main header and move some inclusions to it.
* Set the default debugging channel globally through the main header.
* Remove inclusions and definitions that already exist in the main header.
CORE-7716
Added:
trunk/reactos/dll/win32/schannel/precomp.h (with props)
Modified:
trunk/reactos/dll/win32/schannel/lsamode.c
trunk/reactos/dll/win32/schannel/schannel_main.c
trunk/reactos/dll/win32/schannel/usermode.c
Modified: trunk/reactos/dll/win32/schannel/lsamode.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/schannel/lsamode…
==============================================================================
--- trunk/reactos/dll/win32/schannel/lsamode.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/schannel/lsamode.c [iso-8859-1] Fri Dec 27 10:31:09 2013
@@ -18,22 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include <stdarg.h>
+#include "precomp.h"
-#include <ntstatus.h>
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-#define COM_NO_WINDOWS_H
-#include <windef.h>
-#include <winbase.h>
-#include <sspi.h>
-#include <ntsecapi.h>
-#include <ntsecpkg.h>
#include <schannel.h>
-
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(schannel);
/***********************************************************************
* SpGetInfoUnified
Added: trunk/reactos/dll/win32/schannel/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/schannel/precomp…
==============================================================================
--- trunk/reactos/dll/win32/schannel/precomp.h (added)
+++ trunk/reactos/dll/win32/schannel/precomp.h [iso-8859-1] Fri Dec 27 10:31:09 2013
@@ -0,0 +1,19 @@
+#ifndef _SCHANNEL_PCH_
+#define _SCHANNEL_PCH_
+
+#include <stdarg.h>
+
+#include <ntstatus.h>
+#define WIN32_NO_STATUS
+#define _INC_WINDOWS
+#define COM_NO_WINDOWS_H
+#include <windef.h>
+#include <winbase.h>
+#include <sspi.h>
+#include <ntsecapi.h>
+#include <ntsecpkg.h>
+
+#include <wine/debug.h>
+WINE_DEFAULT_DEBUG_CHANNEL(schannel);
+
+#endif /* _SCHANNEL_PCH_ */
Propchange: trunk/reactos/dll/win32/schannel/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/dll/win32/schannel/schannel_main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/schannel/schanne…
==============================================================================
--- trunk/reactos/dll/win32/schannel/schannel_main.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/schannel/schannel_main.c [iso-8859-1] Fri Dec 27 10:31:09
2013
@@ -18,16 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-
-#include <stdarg.h>
-
-#include <windef.h>
-#include <winbase.h>
-
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(schannel);
+#include "precomp.h"
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
Modified: trunk/reactos/dll/win32/schannel/usermode.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/schannel/usermod…
==============================================================================
--- trunk/reactos/dll/win32/schannel/usermode.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/schannel/usermode.c [iso-8859-1] Fri Dec 27 10:31:09 2013
@@ -18,21 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include <stdarg.h>
-
-#include <ntstatus.h>
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-#define COM_NO_WINDOWS_H
-#include <windef.h>
-#include <winbase.h>
-#include <sspi.h>
-#include <ntsecapi.h>
-#include <ntsecpkg.h>
-
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(schannel);
+#include "precomp.h"
static SECPKG_USER_FUNCTION_TABLE secPkgUserTables[2] =
{ {