Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
1219fa58
Commit
1219fa58
authored
Aug 16, 2006
by
Hans Leidekker
Committed by
Alexandre Julliard
Aug 16, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wldap32: Support setting server controls.
parent
9744cdbc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
option.c
dlls/wldap32/option.c
+24
-0
No files found.
dlls/wldap32/option.c
View file @
1219fa58
...
...
@@ -150,6 +150,7 @@ ULONG CDECL ldap_get_optionA( WLDAP32_LDAP *ld, int option, void *value )
case
LDAP_OPT_SECURITY_CONTEXT
:
case
LDAP_OPT_SEND_TIMEOUT
:
case
LDAP_OPT_SERVER_CERTIFICATE
:
case
LDAP_OPT_SERVER_CONTROLS
:
case
LDAP_OPT_SERVER_ERROR
:
case
LDAP_OPT_SERVER_EXT_ERROR
:
case
LDAP_OPT_SIGN
:
...
...
@@ -288,6 +289,7 @@ ULONG CDECL ldap_get_optionW( WLDAP32_LDAP *ld, int option, void *value )
case
LDAP_OPT_SECURITY_CONTEXT
:
case
LDAP_OPT_SEND_TIMEOUT
:
case
LDAP_OPT_SERVER_CERTIFICATE
:
case
LDAP_OPT_SERVER_CONTROLS
:
case
LDAP_OPT_SERVER_ERROR
:
case
LDAP_OPT_SERVER_EXT_ERROR
:
case
LDAP_OPT_SIGN
:
...
...
@@ -323,6 +325,17 @@ ULONG CDECL ldap_set_optionA( WLDAP32_LDAP *ld, int option, void *value )
switch
(
option
)
{
case
LDAP_OPT_SERVER_CONTROLS
:
{
LDAPControlW
**
ctrlsW
;
ctrlsW
=
controlarrayAtoW
(
(
LDAPControlA
**
)
value
);
if
(
!
ctrlsW
)
return
WLDAP32_LDAP_NO_MEMORY
;
ret
=
ldap_set_optionW
(
ld
,
option
,
ctrlsW
);
controlarrayfreeW
(
ctrlsW
);
return
ret
;
}
case
LDAP_OPT_DEREF
:
case
LDAP_OPT_DESC
:
case
LDAP_OPT_ERROR_NUMBER
:
...
...
@@ -415,6 +428,17 @@ ULONG CDECL ldap_set_optionW( WLDAP32_LDAP *ld, int option, void *value )
switch
(
option
)
{
case
LDAP_OPT_SERVER_CONTROLS
:
{
LDAPControl
**
ctrlsU
;
ctrlsU
=
controlarrayWtoU
(
(
LDAPControlW
**
)
value
);
if
(
!
ctrlsU
)
return
WLDAP32_LDAP_NO_MEMORY
;
ret
=
ldap_set_option
(
ld
,
option
,
ctrlsU
);
controlarrayfreeU
(
ctrlsU
);
return
ret
;
}
case
LDAP_OPT_DEREF
:
case
LDAP_OPT_DESC
:
case
LDAP_OPT_ERROR_NUMBER
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment