ReactOS
0.4.16-dev-963-g182f353
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
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
35
WINE_DEFAULT_DEBUG_CHANNEL
(schannel);
36
37
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
38
{
39
TRACE
(
"(0x%p, %d, %p)\n"
,hinstDLL,
fdwReason
,
lpvReserved
);
40
41
#ifndef __REACTOS__
42
if
(
fdwReason
== DLL_WINE_PREATTACH)
return
FALSE
;
/* prefer native version */
43
#endif
44
45
if
(
fdwReason
==
DLL_PROCESS_ATTACH
)
46
#ifdef __REACTOS__
47
{
48
#endif
49
DisableThreadLibraryCalls
(hinstDLL);
50
#ifdef __REACTOS__
51
SECUR32_initSchannelSP
();
52
}
53
#endif
54
return
TRUE
;
55
}
56
57
BOOL
WINAPI
SslEmptyCacheA
(
LPSTR
target
,
DWORD
flags
)
58
{
59
FIXME
(
"%s %x\n"
,
debugstr_a
(
target
),
flags
);
60
return
TRUE
;
61
}
62
63
BOOL
WINAPI
SslEmptyCacheW
(
LPWSTR
target
,
DWORD
flags
)
64
{
65
FIXME
(
"%s %x\n"
,
debugstr_w
(
target
),
flags
);
66
return
TRUE
;
67
}
68
69
#ifdef __REACTOS__
70
71
PSecurityFunctionTableW
72
WINAPI
73
schan_InitSecurityInterfaceW(
VOID
)
74
{
75
TRACE
(
"InitSecurityInterfaceW() called\n"
);
76
return
&
schanTableW
;
77
}
78
79
PSecurityFunctionTableA
80
WINAPI
81
schan_InitSecurityInterfaceA(
VOID
)
82
{
83
TRACE
(
"InitSecurityInterfaceA() called\n"
);
84
return
&
schanTableA
;
85
}
86
87
#endif
/* __REACTOS__ */
fdwReason
static DWORD const fdwReason
Definition:
appcrt_dllmain.cpp:57
WINE_DEFAULT_DEBUG_CHANNEL
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
Definition:
precomp.h:23
FIXME
#define FIXME(fmt,...)
Definition:
precomp.h:53
TRUE
#define TRUE
Definition:
types.h:120
FALSE
#define FALSE
Definition:
types.h:117
DLL_PROCESS_ATTACH
#define DLL_PROCESS_ATTACH
Definition:
compat.h:131
DisableThreadLibraryCalls
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition:
loader.c:85
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
DWORD
unsigned long DWORD
Definition:
ntddk_ex.h:95
flags
GLbitfield flags
Definition:
glext.h:7161
target
GLenum target
Definition:
glext.h:7315
void
Definition:
nsiface.idl:2307
debugstr_a
#define debugstr_a
Definition:
kernel32.h:31
debugstr_w
#define debugstr_w
Definition:
kernel32.h:32
lpvReserved
static IN DWORD IN LPVOID lpvReserved
Definition:
load_notifications.c:17
schannel.h
SslEmptyCacheW
BOOL WINAPI SslEmptyCacheW(LPWSTR target, DWORD flags)
Definition:
schannel_main.c:63
DllMain
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
Definition:
schannel_main.c:37
SslEmptyCacheA
BOOL WINAPI SslEmptyCacheA(LPSTR target, DWORD flags)
Definition:
schannel_main.c:57
schannel_priv.h
SECUR32_initSchannelSP
void SECUR32_initSchannelSP(void) DECLSPEC_HIDDEN
Definition:
schannel_wine.c:1473
schanTableA
SecurityFunctionTableA schanTableA
schanTableW
SecurityFunctionTableW schanTableW
debug.h
TRACE
#define TRACE(s)
Definition:
solgame.cpp:4
_SECURITY_FUNCTION_TABLE_A
Definition:
sspi.h:954
_SECURITY_FUNCTION_TABLE_W
Definition:
sspi.h:989
winbase.h
windef.h
WINAPI
#define WINAPI
Definition:
msvc.h:6
LPSTR
char * LPSTR
Definition:
xmlstorage.h:182
LPWSTR
WCHAR * LPWSTR
Definition:
xmlstorage.h:184
dll
win32
schannel
schannel_main.c
Generated on Mon Apr 7 2025 06:06:54 for ReactOS by
1.9.6