ReactOS 0.4.16-dev-197-g92996da
schannel_main.c
Go to the documentation of this file.
1/*
2 * SSL/TLS Security Library
3 *
4 * Copyright 2007 Rob Shearman, for CodeWeavers
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20
21#include <stdarg.h>
22
23#include "windef.h"
24#include "winbase.h"
25
26#include "wine/debug.h"
27
28#ifdef __REACTOS__
29#include <sspi.h>
30#include <schannel.h>
31#include <wine/list.h>
32#include "schannel_priv.h"
33#endif
34
36
38{
39 TRACE("(0x%p, %d, %p)\n",hinstDLL,fdwReason,lpvReserved);
40
41 if (fdwReason == DLL_WINE_PREATTACH) return FALSE; /* prefer native version */
42
43 if (fdwReason == DLL_PROCESS_ATTACH)
44#ifdef __REACTOS__
45 {
46#endif
48#ifdef __REACTOS__
50 }
51#endif
52 return TRUE;
53}
54
56{
57 FIXME("%s %x\n", debugstr_a(target), flags);
58 return TRUE;
59}
60
62{
63 FIXME("%s %x\n", debugstr_w(target), flags);
64 return TRUE;
65}
66
67#ifdef __REACTOS__
68
71schan_InitSecurityInterfaceW(VOID)
72{
73 TRACE("InitSecurityInterfaceW() called\n");
74 return &schanTableW;
75}
76
79schan_InitSecurityInterfaceA(VOID)
80{
81 TRACE("InitSecurityInterfaceA() called\n");
82 return &schanTableA;
83}
84
85#endif /* __REACTOS__ */
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
Definition: precomp.h:23
#define FIXME(fmt,...)
Definition: precomp.h:53
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
GLbitfield flags
Definition: glext.h:7161
GLenum target
Definition: glext.h:7315
#define debugstr_a
Definition: kernel32.h:31
#define debugstr_w
Definition: kernel32.h:32
static IN DWORD IN LPVOID lpvReserved
BOOL WINAPI SslEmptyCacheW(LPWSTR target, DWORD flags)
Definition: schannel_main.c:61
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
Definition: schannel_main.c:37
BOOL WINAPI SslEmptyCacheA(LPSTR target, DWORD flags)
Definition: schannel_main.c:55
void SECUR32_initSchannelSP(void) DECLSPEC_HIDDEN
SecurityFunctionTableA schanTableA
SecurityFunctionTableW schanTableW
#define TRACE(s)
Definition: solgame.cpp:4
#define WINAPI
Definition: msvc.h:6
char * LPSTR
Definition: xmlstorage.h:182
WCHAR * LPWSTR
Definition: xmlstorage.h:184