[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

svn path=/trunk/; revision=61440
This commit is contained in:
Amine Khaldi 2013-12-27 10:31:09 +00:00
parent cb0a22100f
commit 6300087d25
4 changed files with 22 additions and 39 deletions

View file

@ -18,23 +18,10 @@
* 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
*/

View file

@ -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_ */

View file

@ -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)
{

View file

@ -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] =
{ {