Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
91e45c62
Commit
91e45c62
authored
Jun 12, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wldap32: Explicitly specify CDECL calling convention on exported functions.
parent
1053eccb
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
182 additions
and
182 deletions
+182
-182
add.c
dlls/wldap32/add.c
+8
-8
ber.c
dlls/wldap32/ber.c
+13
-13
bind.c
dlls/wldap32/bind.c
+14
-14
compare.c
dlls/wldap32/compare.c
+8
-8
control.c
dlls/wldap32/control.c
+12
-12
delete.c
dlls/wldap32/delete.c
+8
-8
dn.c
dlls/wldap32/dn.c
+8
-8
error.c
dlls/wldap32/error.c
+6
-6
extended.c
dlls/wldap32/extended.c
+5
-5
init.c
dlls/wldap32/init.c
+13
-13
misc.c
dlls/wldap32/misc.c
+23
-23
modify.c
dlls/wldap32/modify.c
+8
-8
modrdn.c
dlls/wldap32/modrdn.c
+8
-8
option.c
dlls/wldap32/option.c
+4
-4
page.c
dlls/wldap32/page.c
+10
-10
parse.c
dlls/wldap32/parse.c
+10
-10
rename.c
dlls/wldap32/rename.c
+4
-4
search.c
dlls/wldap32/search.c
+10
-10
value.c
dlls/wldap32/value.c
+10
-10
winldap.h
include/winldap.h
+0
-0
No files found.
dlls/wldap32/add.c
View file @
91e45c62
...
@@ -51,7 +51,7 @@ static LDAPMod *nullattrs[] = { NULL };
...
@@ -51,7 +51,7 @@ static LDAPMod *nullattrs[] = { NULL };
*
*
* See ldap_addW.
* See ldap_addW.
*/
*/
ULONG
ldap_addA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
attrs
[]
)
ULONG
CDECL
ldap_addA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
attrs
[]
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -103,7 +103,7 @@ exit:
...
@@ -103,7 +103,7 @@ exit:
* the operation. Cancel the operation by calling ldap_abandon
* the operation. Cancel the operation by calling ldap_abandon
* with the message ID.
* with the message ID.
*/
*/
ULONG
ldap_addW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
attrs
[]
)
ULONG
CDECL
ldap_addW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
attrs
[]
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -146,7 +146,7 @@ exit:
...
@@ -146,7 +146,7 @@ exit:
*
*
* See ldap_add_extW.
* See ldap_add_extW.
*/
*/
ULONG
ldap_add_extA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
attrs
[],
ULONG
CDECL
ldap_add_extA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
attrs
[],
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
,
ULONG
*
message
)
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
,
ULONG
*
message
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -214,7 +214,7 @@ exit:
...
@@ -214,7 +214,7 @@ exit:
* the operation. The serverctrls and clientctrls parameters are
* the operation. The serverctrls and clientctrls parameters are
* optional and should be set to NULL if not used.
* optional and should be set to NULL if not used.
*/
*/
ULONG
ldap_add_extW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
attrs
[],
ULONG
CDECL
ldap_add_extW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
attrs
[],
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
,
ULONG
*
message
)
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
,
ULONG
*
message
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -266,7 +266,7 @@ exit:
...
@@ -266,7 +266,7 @@ exit:
*
*
* See ldap_add_ext_sW.
* See ldap_add_ext_sW.
*/
*/
ULONG
ldap_add_ext_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
attrs
[],
ULONG
CDECL
ldap_add_ext_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
attrs
[],
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
)
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -332,7 +332,7 @@ exit:
...
@@ -332,7 +332,7 @@ exit:
* The serverctrls and clientctrls parameters are optional and
* The serverctrls and clientctrls parameters are optional and
* should be set to NULL if not used.
* should be set to NULL if not used.
*/
*/
ULONG
ldap_add_ext_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
attrs
[],
ULONG
CDECL
ldap_add_ext_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
attrs
[],
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
)
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -383,7 +383,7 @@ exit:
...
@@ -383,7 +383,7 @@ exit:
*
*
* See ldap_add_sW.
* See ldap_add_sW.
*/
*/
ULONG
ldap_add_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
attrs
[]
)
ULONG
CDECL
ldap_add_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
attrs
[]
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -430,7 +430,7 @@ exit:
...
@@ -430,7 +430,7 @@ exit:
* Success: LDAP_SUCCESS
* Success: LDAP_SUCCESS
* Failure: An LDAP error code.
* Failure: An LDAP error code.
*/
*/
ULONG
ldap_add_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
attrs
[]
)
ULONG
CDECL
ldap_add_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
attrs
[]
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
...
dlls/wldap32/ber.c
View file @
91e45c62
...
@@ -35,7 +35,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
...
@@ -35,7 +35,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
/***********************************************************************
/***********************************************************************
* ber_alloc_t (WLDAP32.@)
* ber_alloc_t (WLDAP32.@)
*/
*/
BerElement
*
WLDAP32_ber_alloc_t
(
INT
options
)
BerElement
*
CDECL
WLDAP32_ber_alloc_t
(
INT
options
)
{
{
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
return
ber_alloc_t
(
options
);
return
ber_alloc_t
(
options
);
...
@@ -48,7 +48,7 @@ BerElement *WLDAP32_ber_alloc_t( INT options )
...
@@ -48,7 +48,7 @@ BerElement *WLDAP32_ber_alloc_t( INT options )
/***********************************************************************
/***********************************************************************
* ber_bvdup (WLDAP32.@)
* ber_bvdup (WLDAP32.@)
*/
*/
BERVAL
*
WLDAP32_ber_bvdup
(
BERVAL
*
berval
)
BERVAL
*
CDECL
WLDAP32_ber_bvdup
(
BERVAL
*
berval
)
{
{
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
return
ber_bvdup
(
berval
);
return
ber_bvdup
(
berval
);
...
@@ -61,7 +61,7 @@ BERVAL *WLDAP32_ber_bvdup( BERVAL *berval )
...
@@ -61,7 +61,7 @@ BERVAL *WLDAP32_ber_bvdup( BERVAL *berval )
/***********************************************************************
/***********************************************************************
* ber_bvecfree (WLDAP32.@)
* ber_bvecfree (WLDAP32.@)
*/
*/
void
WLDAP32_ber_bvecfree
(
PBERVAL
*
berval
)
void
CDECL
WLDAP32_ber_bvecfree
(
PBERVAL
*
berval
)
{
{
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
ber_bvecfree
(
berval
);
ber_bvecfree
(
berval
);
...
@@ -72,7 +72,7 @@ void WLDAP32_ber_bvecfree( PBERVAL *berval )
...
@@ -72,7 +72,7 @@ void WLDAP32_ber_bvecfree( PBERVAL *berval )
/***********************************************************************
/***********************************************************************
* ber_bvfree (WLDAP32.@)
* ber_bvfree (WLDAP32.@)
*/
*/
void
WLDAP32_ber_bvfree
(
BERVAL
*
berval
)
void
CDECL
WLDAP32_ber_bvfree
(
BERVAL
*
berval
)
{
{
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
ber_bvfree
(
berval
);
ber_bvfree
(
berval
);
...
@@ -83,7 +83,7 @@ void WLDAP32_ber_bvfree( BERVAL *berval )
...
@@ -83,7 +83,7 @@ void WLDAP32_ber_bvfree( BERVAL *berval )
/***********************************************************************
/***********************************************************************
* ber_first_element (WLDAP32.@)
* ber_first_element (WLDAP32.@)
*/
*/
ULONG
WLDAP32_ber_first_element
(
BerElement
*
berelement
,
ULONG
*
len
,
CHAR
**
opaque
)
ULONG
CDECL
WLDAP32_ber_first_element
(
BerElement
*
berelement
,
ULONG
*
len
,
CHAR
**
opaque
)
{
{
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
return
ber_first_element
(
berelement
,
len
,
opaque
);
return
ber_first_element
(
berelement
,
len
,
opaque
);
...
@@ -96,7 +96,7 @@ ULONG WLDAP32_ber_first_element( BerElement *berelement, ULONG *len, CHAR **opaq
...
@@ -96,7 +96,7 @@ ULONG WLDAP32_ber_first_element( BerElement *berelement, ULONG *len, CHAR **opaq
/***********************************************************************
/***********************************************************************
* ber_flatten (WLDAP32.@)
* ber_flatten (WLDAP32.@)
*/
*/
INT
WLDAP32_ber_flatten
(
BerElement
*
berelement
,
PBERVAL
*
berval
)
INT
CDECL
WLDAP32_ber_flatten
(
BerElement
*
berelement
,
PBERVAL
*
berval
)
{
{
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
return
ber_flatten
(
berelement
,
berval
);
return
ber_flatten
(
berelement
,
berval
);
...
@@ -109,7 +109,7 @@ INT WLDAP32_ber_flatten( BerElement *berelement, PBERVAL *berval )
...
@@ -109,7 +109,7 @@ INT WLDAP32_ber_flatten( BerElement *berelement, PBERVAL *berval )
/***********************************************************************
/***********************************************************************
* ber_free (WLDAP32.@)
* ber_free (WLDAP32.@)
*/
*/
void
WLDAP32_ber_free
(
BerElement
*
berelement
,
INT
buf
)
void
CDECL
WLDAP32_ber_free
(
BerElement
*
berelement
,
INT
buf
)
{
{
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
ber_free
(
berelement
,
buf
);
ber_free
(
berelement
,
buf
);
...
@@ -120,7 +120,7 @@ void WLDAP32_ber_free( BerElement *berelement, INT buf )
...
@@ -120,7 +120,7 @@ void WLDAP32_ber_free( BerElement *berelement, INT buf )
/***********************************************************************
/***********************************************************************
* ber_init (WLDAP32.@)
* ber_init (WLDAP32.@)
*/
*/
BerElement
*
WLDAP32_ber_init
(
BERVAL
*
berval
)
BerElement
*
CDECL
WLDAP32_ber_init
(
BERVAL
*
berval
)
{
{
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
return
ber_init
(
berval
);
return
ber_init
(
berval
);
...
@@ -133,7 +133,7 @@ BerElement *WLDAP32_ber_init( BERVAL *berval )
...
@@ -133,7 +133,7 @@ BerElement *WLDAP32_ber_init( BERVAL *berval )
/***********************************************************************
/***********************************************************************
* ber_next_element (WLDAP32.@)
* ber_next_element (WLDAP32.@)
*/
*/
ULONG
WLDAP32_ber_next_element
(
BerElement
*
berelement
,
ULONG
*
len
,
CHAR
*
opaque
)
ULONG
CDECL
WLDAP32_ber_next_element
(
BerElement
*
berelement
,
ULONG
*
len
,
CHAR
*
opaque
)
{
{
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
return
ber_next_element
(
berelement
,
len
,
opaque
);
return
ber_next_element
(
berelement
,
len
,
opaque
);
...
@@ -146,7 +146,7 @@ ULONG WLDAP32_ber_next_element( BerElement *berelement, ULONG *len, CHAR *opaque
...
@@ -146,7 +146,7 @@ ULONG WLDAP32_ber_next_element( BerElement *berelement, ULONG *len, CHAR *opaque
/***********************************************************************
/***********************************************************************
* ber_peek_tag (WLDAP32.@)
* ber_peek_tag (WLDAP32.@)
*/
*/
ULONG
WLDAP32_ber_peek_tag
(
BerElement
*
berelement
,
ULONG
*
len
)
ULONG
CDECL
WLDAP32_ber_peek_tag
(
BerElement
*
berelement
,
ULONG
*
len
)
{
{
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
return
ber_peek_tag
(
berelement
,
len
);
return
ber_peek_tag
(
berelement
,
len
);
...
@@ -159,7 +159,7 @@ ULONG WLDAP32_ber_peek_tag( BerElement *berelement, ULONG *len )
...
@@ -159,7 +159,7 @@ ULONG WLDAP32_ber_peek_tag( BerElement *berelement, ULONG *len )
/***********************************************************************
/***********************************************************************
* ber_skip_tag (WLDAP32.@)
* ber_skip_tag (WLDAP32.@)
*/
*/
ULONG
WLDAP32_ber_skip_tag
(
BerElement
*
berelement
,
ULONG
*
len
)
ULONG
CDECL
WLDAP32_ber_skip_tag
(
BerElement
*
berelement
,
ULONG
*
len
)
{
{
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
return
ber_skip_tag
(
berelement
,
len
);
return
ber_skip_tag
(
berelement
,
len
);
...
@@ -172,7 +172,7 @@ ULONG WLDAP32_ber_skip_tag( BerElement *berelement, ULONG *len )
...
@@ -172,7 +172,7 @@ ULONG WLDAP32_ber_skip_tag( BerElement *berelement, ULONG *len )
/***********************************************************************
/***********************************************************************
* ber_printf (WLDAP32.@)
* ber_printf (WLDAP32.@)
*/
*/
INT
WLDAP32_ber_printf
(
BerElement
*
berelement
,
PCHAR
fmt
,
...
)
INT
CDECL
WLDAP32_ber_printf
(
BerElement
*
berelement
,
PCHAR
fmt
,
...
)
{
{
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
va_list
list
;
va_list
list
;
...
@@ -251,7 +251,7 @@ INT WLDAP32_ber_printf( BerElement *berelement, PCHAR fmt, ... )
...
@@ -251,7 +251,7 @@ INT WLDAP32_ber_printf( BerElement *berelement, PCHAR fmt, ... )
/***********************************************************************
/***********************************************************************
* ber_scanf (WLDAP32.@)
* ber_scanf (WLDAP32.@)
*/
*/
INT
WLDAP32_ber_scanf
(
BerElement
*
berelement
,
PCHAR
fmt
,
...
)
INT
CDECL
WLDAP32_ber_scanf
(
BerElement
*
berelement
,
PCHAR
fmt
,
...
)
{
{
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
va_list
list
;
va_list
list
;
...
...
dlls/wldap32/bind.c
View file @
91e45c62
...
@@ -46,7 +46,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
...
@@ -46,7 +46,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
*
*
* See ldap_bindW.
* See ldap_bindW.
*/
*/
ULONG
ldap_bindA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
cred
,
ULONG
method
)
ULONG
CDECL
ldap_bindA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
cred
,
ULONG
method
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -95,7 +95,7 @@ exit:
...
@@ -95,7 +95,7 @@ exit:
* NOTES
* NOTES
* Only LDAP_AUTH_SIMPLE is supported (just like native).
* Only LDAP_AUTH_SIMPLE is supported (just like native).
*/
*/
ULONG
ldap_bindW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
cred
,
ULONG
method
)
ULONG
CDECL
ldap_bindW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
cred
,
ULONG
method
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -142,7 +142,7 @@ exit:
...
@@ -142,7 +142,7 @@ exit:
*
*
* See ldap_bind_sW.
* See ldap_bind_sW.
*/
*/
ULONG
ldap_bind_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
cred
,
ULONG
method
)
ULONG
CDECL
ldap_bind_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
cred
,
ULONG
method
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -188,7 +188,7 @@ exit:
...
@@ -188,7 +188,7 @@ exit:
* Success: LDAP_SUCCESS
* Success: LDAP_SUCCESS
* Failure: An LDAP error code.
* Failure: An LDAP error code.
*/
*/
ULONG
ldap_bind_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
cred
,
ULONG
method
)
ULONG
CDECL
ldap_bind_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
cred
,
ULONG
method
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -229,7 +229,7 @@ exit:
...
@@ -229,7 +229,7 @@ exit:
*
*
* See ldap_sasl_bindW.
* See ldap_sasl_bindW.
*/
*/
ULONG
ldap_sasl_bindA
(
WLDAP32_LDAP
*
ld
,
const
PCHAR
dn
,
ULONG
CDECL
ldap_sasl_bindA
(
WLDAP32_LDAP
*
ld
,
const
PCHAR
dn
,
const
PCHAR
mechanism
,
const
BERVAL
*
cred
,
PLDAPControlA
*
serverctrls
,
const
PCHAR
mechanism
,
const
BERVAL
*
cred
,
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
,
int
*
message
)
PLDAPControlA
*
clientctrls
,
int
*
message
)
{
{
...
@@ -295,7 +295,7 @@ exit:
...
@@ -295,7 +295,7 @@ exit:
* The serverctrls and clientctrls parameters are optional and should
* The serverctrls and clientctrls parameters are optional and should
* be set to NULL if not used.
* be set to NULL if not used.
*/
*/
ULONG
ldap_sasl_bindW
(
WLDAP32_LDAP
*
ld
,
const
PWCHAR
dn
,
ULONG
CDECL
ldap_sasl_bindW
(
WLDAP32_LDAP
*
ld
,
const
PWCHAR
dn
,
const
PWCHAR
mechanism
,
const
BERVAL
*
cred
,
PLDAPControlW
*
serverctrls
,
const
PWCHAR
mechanism
,
const
BERVAL
*
cred
,
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
,
int
*
message
)
PLDAPControlW
*
clientctrls
,
int
*
message
)
{
{
...
@@ -345,7 +345,7 @@ exit:
...
@@ -345,7 +345,7 @@ exit:
*
*
* See ldap_sasl_bind_sW.
* See ldap_sasl_bind_sW.
*/
*/
ULONG
ldap_sasl_bind_sA
(
WLDAP32_LDAP
*
ld
,
const
PCHAR
dn
,
ULONG
CDECL
ldap_sasl_bind_sA
(
WLDAP32_LDAP
*
ld
,
const
PCHAR
dn
,
const
PCHAR
mechanism
,
const
BERVAL
*
cred
,
PLDAPControlA
*
serverctrls
,
const
PCHAR
mechanism
,
const
BERVAL
*
cred
,
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
,
PBERVAL
*
serverdata
)
PLDAPControlA
*
clientctrls
,
PBERVAL
*
serverdata
)
{
{
...
@@ -411,7 +411,7 @@ exit:
...
@@ -411,7 +411,7 @@ exit:
* The serverctrls and clientctrls parameters are optional and should
* The serverctrls and clientctrls parameters are optional and should
* be set to NULL if not used.
* be set to NULL if not used.
*/
*/
ULONG
ldap_sasl_bind_sW
(
WLDAP32_LDAP
*
ld
,
const
PWCHAR
dn
,
ULONG
CDECL
ldap_sasl_bind_sW
(
WLDAP32_LDAP
*
ld
,
const
PWCHAR
dn
,
const
PWCHAR
mechanism
,
const
BERVAL
*
cred
,
PLDAPControlW
*
serverctrls
,
const
PWCHAR
mechanism
,
const
BERVAL
*
cred
,
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
,
PBERVAL
*
serverdata
)
PLDAPControlW
*
clientctrls
,
PBERVAL
*
serverdata
)
{
{
...
@@ -461,7 +461,7 @@ exit:
...
@@ -461,7 +461,7 @@ exit:
*
*
* See ldap_simple_bindW.
* See ldap_simple_bindW.
*/
*/
ULONG
ldap_simple_bindA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
passwd
)
ULONG
CDECL
ldap_simple_bindA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
passwd
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -509,7 +509,7 @@ exit:
...
@@ -509,7 +509,7 @@ exit:
* NOTES
* NOTES
* Set dn and passwd to NULL to bind as an anonymous user.
* Set dn and passwd to NULL to bind as an anonymous user.
*/
*/
ULONG
ldap_simple_bindW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
passwd
)
ULONG
CDECL
ldap_simple_bindW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
passwd
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -555,7 +555,7 @@ exit:
...
@@ -555,7 +555,7 @@ exit:
*
*
* See ldap_simple_bind_sW.
* See ldap_simple_bind_sW.
*/
*/
ULONG
ldap_simple_bind_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
passwd
)
ULONG
CDECL
ldap_simple_bind_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
passwd
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -603,7 +603,7 @@ exit:
...
@@ -603,7 +603,7 @@ exit:
* NOTES
* NOTES
* Set dn and passwd to NULL to bind as an anonymous user.
* Set dn and passwd to NULL to bind as an anonymous user.
*/
*/
ULONG
ldap_simple_bind_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
passwd
)
ULONG
CDECL
ldap_simple_bind_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
passwd
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -650,7 +650,7 @@ exit:
...
@@ -650,7 +650,7 @@ exit:
* Success: LDAP_SUCCESS
* Success: LDAP_SUCCESS
* Failure: An LDAP error code.
* Failure: An LDAP error code.
*/
*/
ULONG
WLDAP32_ldap_unbind
(
WLDAP32_LDAP
*
ld
)
ULONG
CDECL
WLDAP32_ldap_unbind
(
WLDAP32_LDAP
*
ld
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -678,7 +678,7 @@ ULONG WLDAP32_ldap_unbind( WLDAP32_LDAP *ld )
...
@@ -678,7 +678,7 @@ ULONG WLDAP32_ldap_unbind( WLDAP32_LDAP *ld )
* Success: LDAP_SUCCESS
* Success: LDAP_SUCCESS
* Failure: An LDAP error code.
* Failure: An LDAP error code.
*/
*/
ULONG
WLDAP32_ldap_unbind_s
(
WLDAP32_LDAP
*
ld
)
ULONG
CDECL
WLDAP32_ldap_unbind_s
(
WLDAP32_LDAP
*
ld
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
...
dlls/wldap32/compare.c
View file @
91e45c62
...
@@ -45,7 +45,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
...
@@ -45,7 +45,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
*
*
* See ldap_compareW.
* See ldap_compareW.
*/
*/
ULONG
ldap_compareA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
attr
,
PCHAR
value
)
ULONG
CDECL
ldap_compareA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
attr
,
PCHAR
value
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -97,7 +97,7 @@ exit:
...
@@ -97,7 +97,7 @@ exit:
* Success: Message ID of the compare operation.
* Success: Message ID of the compare operation.
* Failure: An LDAP error code.
* Failure: An LDAP error code.
*/
*/
ULONG
ldap_compareW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
attr
,
PWCHAR
value
)
ULONG
CDECL
ldap_compareW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
attr
,
PWCHAR
value
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -149,7 +149,7 @@ exit:
...
@@ -149,7 +149,7 @@ exit:
*
*
* See ldap_compare_extW.
* See ldap_compare_extW.
*/
*/
ULONG
ldap_compare_extA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
attr
,
PCHAR
value
,
ULONG
CDECL
ldap_compare_extA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
attr
,
PCHAR
value
,
struct
WLDAP32_berval
*
data
,
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
,
struct
WLDAP32_berval
*
data
,
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
,
ULONG
*
message
)
ULONG
*
message
)
{
{
...
@@ -225,7 +225,7 @@ exit:
...
@@ -225,7 +225,7 @@ exit:
* both are non-NULL, data will be used. The serverctrls and clientctrls
* both are non-NULL, data will be used. The serverctrls and clientctrls
* parameters are optional and should be set to NULL if not used.
* parameters are optional and should be set to NULL if not used.
*/
*/
ULONG
ldap_compare_extW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
attr
,
PWCHAR
value
,
ULONG
CDECL
ldap_compare_extW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
attr
,
PWCHAR
value
,
struct
WLDAP32_berval
*
data
,
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
,
struct
WLDAP32_berval
*
data
,
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
,
ULONG
*
message
)
ULONG
*
message
)
{
{
...
@@ -289,7 +289,7 @@ exit:
...
@@ -289,7 +289,7 @@ exit:
*
*
* See ldap_compare_ext_sW.
* See ldap_compare_ext_sW.
*/
*/
ULONG
ldap_compare_ext_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
attr
,
PCHAR
value
,
ULONG
CDECL
ldap_compare_ext_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
attr
,
PCHAR
value
,
struct
WLDAP32_berval
*
data
,
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
)
struct
WLDAP32_berval
*
data
,
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -363,7 +363,7 @@ exit:
...
@@ -363,7 +363,7 @@ exit:
* both are non-NULL, data will be used. The serverctrls and clientctrls
* both are non-NULL, data will be used. The serverctrls and clientctrls
* parameters are optional and should be set to NULL if not used.
* parameters are optional and should be set to NULL if not used.
*/
*/
ULONG
ldap_compare_ext_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
attr
,
PWCHAR
value
,
ULONG
CDECL
ldap_compare_ext_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
attr
,
PWCHAR
value
,
struct
WLDAP32_berval
*
data
,
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
)
struct
WLDAP32_berval
*
data
,
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -426,7 +426,7 @@ exit:
...
@@ -426,7 +426,7 @@ exit:
*
*
* See ldap_compare_sW.
* See ldap_compare_sW.
*/
*/
ULONG
ldap_compare_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
attr
,
PCHAR
value
)
ULONG
CDECL
ldap_compare_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
attr
,
PCHAR
value
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -478,7 +478,7 @@ exit:
...
@@ -478,7 +478,7 @@ exit:
* Success: LDAP_SUCCESS
* Success: LDAP_SUCCESS
* Failure: An LDAP error code.
* Failure: An LDAP error code.
*/
*/
ULONG
ldap_compare_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
attr
,
PWCHAR
value
)
ULONG
CDECL
ldap_compare_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
attr
,
PWCHAR
value
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
...
dlls/wldap32/control.c
View file @
91e45c62
...
@@ -46,7 +46,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
...
@@ -46,7 +46,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
*
*
* See ldap_control_freeW.
* See ldap_control_freeW.
*/
*/
ULONG
ldap_control_freeA
(
LDAPControlA
*
control
)
ULONG
CDECL
ldap_control_freeA
(
LDAPControlA
*
control
)
{
{
ULONG
ret
=
LDAP_SUCCESS
;
ULONG
ret
=
LDAP_SUCCESS
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -69,7 +69,7 @@ ULONG ldap_control_freeA( LDAPControlA *control )
...
@@ -69,7 +69,7 @@ ULONG ldap_control_freeA( LDAPControlA *control )
* RETURNS
* RETURNS
* LDAP_SUCCESS
* LDAP_SUCCESS
*/
*/
ULONG
ldap_control_freeW
(
LDAPControlW
*
control
)
ULONG
CDECL
ldap_control_freeW
(
LDAPControlW
*
control
)
{
{
ULONG
ret
=
LDAP_SUCCESS
;
ULONG
ret
=
LDAP_SUCCESS
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -86,7 +86,7 @@ ULONG ldap_control_freeW( LDAPControlW *control )
...
@@ -86,7 +86,7 @@ ULONG ldap_control_freeW( LDAPControlW *control )
*
*
* See ldap_controls_freeW.
* See ldap_controls_freeW.
*/
*/
ULONG
ldap_controls_freeA
(
LDAPControlA
**
controls
)
ULONG
CDECL
ldap_controls_freeA
(
LDAPControlA
**
controls
)
{
{
ULONG
ret
=
LDAP_SUCCESS
;
ULONG
ret
=
LDAP_SUCCESS
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -109,7 +109,7 @@ ULONG ldap_controls_freeA( LDAPControlA **controls )
...
@@ -109,7 +109,7 @@ ULONG ldap_controls_freeA( LDAPControlA **controls )
* RETURNS
* RETURNS
* LDAP_SUCCESS
* LDAP_SUCCESS
*/
*/
ULONG
ldap_controls_freeW
(
LDAPControlW
**
controls
)
ULONG
CDECL
ldap_controls_freeW
(
LDAPControlW
**
controls
)
{
{
ULONG
ret
=
LDAP_SUCCESS
;
ULONG
ret
=
LDAP_SUCCESS
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -126,7 +126,7 @@ ULONG ldap_controls_freeW( LDAPControlW **controls )
...
@@ -126,7 +126,7 @@ ULONG ldap_controls_freeW( LDAPControlW **controls )
*
*
* See ldap_create_sort_controlW.
* See ldap_create_sort_controlW.
*/
*/
ULONG
ldap_create_sort_controlA
(
WLDAP32_LDAP
*
ld
,
PLDAPSortKeyA
*
sortkey
,
ULONG
CDECL
ldap_create_sort_controlA
(
WLDAP32_LDAP
*
ld
,
PLDAPSortKeyA
*
sortkey
,
UCHAR
critical
,
PLDAPControlA
*
control
)
UCHAR
critical
,
PLDAPControlA
*
control
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -176,7 +176,7 @@ ULONG ldap_create_sort_controlA( WLDAP32_LDAP *ld, PLDAPSortKeyA *sortkey,
...
@@ -176,7 +176,7 @@ ULONG ldap_create_sort_controlA( WLDAP32_LDAP *ld, PLDAPSortKeyA *sortkey,
* Pass the created control as a server control in subsequent calls
* Pass the created control as a server control in subsequent calls
* to ldap_search_ext(_s) to obtain sorted search results.
* to ldap_search_ext(_s) to obtain sorted search results.
*/
*/
ULONG
ldap_create_sort_controlW
(
WLDAP32_LDAP
*
ld
,
PLDAPSortKeyW
*
sortkey
,
ULONG
CDECL
ldap_create_sort_controlW
(
WLDAP32_LDAP
*
ld
,
PLDAPSortKeyW
*
sortkey
,
UCHAR
critical
,
PLDAPControlW
*
control
)
UCHAR
critical
,
PLDAPControlW
*
control
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -209,7 +209,7 @@ ULONG ldap_create_sort_controlW( WLDAP32_LDAP *ld, PLDAPSortKeyW *sortkey,
...
@@ -209,7 +209,7 @@ ULONG ldap_create_sort_controlW( WLDAP32_LDAP *ld, PLDAPSortKeyW *sortkey,
*
*
* See ldap_create_vlv_controlW.
* See ldap_create_vlv_controlW.
*/
*/
INT
ldap_create_vlv_controlA
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPVLVInfo
*
info
,
INT
CDECL
ldap_create_vlv_controlA
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPVLVInfo
*
info
,
UCHAR
critical
,
LDAPControlA
**
control
)
UCHAR
critical
,
LDAPControlA
**
control
)
{
{
INT
ret
=
LDAP_NOT_SUPPORTED
;
INT
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -255,7 +255,7 @@ INT ldap_create_vlv_controlA( WLDAP32_LDAP *ld, WLDAP32_LDAPVLVInfo *info,
...
@@ -255,7 +255,7 @@ INT ldap_create_vlv_controlA( WLDAP32_LDAP *ld, WLDAP32_LDAPVLVInfo *info,
* server will then return a sorted, contiguous subset of results
* server will then return a sorted, contiguous subset of results
* that meets the criteria specified in the LDAPVLVInfo structure.
* that meets the criteria specified in the LDAPVLVInfo structure.
*/
*/
INT
ldap_create_vlv_controlW
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPVLVInfo
*
info
,
INT
CDECL
ldap_create_vlv_controlW
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPVLVInfo
*
info
,
UCHAR
critical
,
LDAPControlW
**
control
)
UCHAR
critical
,
LDAPControlW
**
control
)
{
{
INT
ret
=
LDAP_NOT_SUPPORTED
;
INT
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -284,7 +284,7 @@ INT ldap_create_vlv_controlW( WLDAP32_LDAP *ld, WLDAP32_LDAPVLVInfo *info,
...
@@ -284,7 +284,7 @@ INT ldap_create_vlv_controlW( WLDAP32_LDAP *ld, WLDAP32_LDAPVLVInfo *info,
*
*
* See ldap_encode_sort_controlW.
* See ldap_encode_sort_controlW.
*/
*/
ULONG
ldap_encode_sort_controlA
(
WLDAP32_LDAP
*
ld
,
PLDAPSortKeyA
*
sortkeys
,
ULONG
CDECL
ldap_encode_sort_controlA
(
WLDAP32_LDAP
*
ld
,
PLDAPSortKeyA
*
sortkeys
,
PLDAPControlA
control
,
BOOLEAN
critical
)
PLDAPControlA
control
,
BOOLEAN
critical
)
{
{
return
ldap_create_sort_controlA
(
ld
,
sortkeys
,
critical
,
&
control
);
return
ldap_create_sort_controlA
(
ld
,
sortkeys
,
critical
,
&
control
);
...
@@ -312,7 +312,7 @@ ULONG ldap_encode_sort_controlA( WLDAP32_LDAP *ld, PLDAPSortKeyA *sortkeys,
...
@@ -312,7 +312,7 @@ ULONG ldap_encode_sort_controlA( WLDAP32_LDAP *ld, PLDAPSortKeyA *sortkeys,
* This function is obsolete. Use its equivalent
* This function is obsolete. Use its equivalent
* ldap_create_sort_control instead.
* ldap_create_sort_control instead.
*/
*/
ULONG
ldap_encode_sort_controlW
(
WLDAP32_LDAP
*
ld
,
PLDAPSortKeyW
*
sortkeys
,
ULONG
CDECL
ldap_encode_sort_controlW
(
WLDAP32_LDAP
*
ld
,
PLDAPSortKeyW
*
sortkeys
,
PLDAPControlW
control
,
BOOLEAN
critical
)
PLDAPControlW
control
,
BOOLEAN
critical
)
{
{
return
ldap_create_sort_controlW
(
ld
,
sortkeys
,
critical
,
&
control
);
return
ldap_create_sort_controlW
(
ld
,
sortkeys
,
critical
,
&
control
);
...
@@ -323,7 +323,7 @@ ULONG ldap_encode_sort_controlW( WLDAP32_LDAP *ld, PLDAPSortKeyW *sortkeys,
...
@@ -323,7 +323,7 @@ ULONG ldap_encode_sort_controlW( WLDAP32_LDAP *ld, PLDAPSortKeyW *sortkeys,
*
*
* See ldap_free_controlsW.
* See ldap_free_controlsW.
*/
*/
ULONG
ldap_free_controlsA
(
LDAPControlA
**
controls
)
ULONG
CDECL
ldap_free_controlsA
(
LDAPControlA
**
controls
)
{
{
return
ldap_controls_freeA
(
controls
);
return
ldap_controls_freeA
(
controls
);
}
}
...
@@ -342,7 +342,7 @@ ULONG ldap_free_controlsA( LDAPControlA **controls )
...
@@ -342,7 +342,7 @@ ULONG ldap_free_controlsA( LDAPControlA **controls )
* NOTES
* NOTES
* Obsolete, use ldap_controls_freeW.
* Obsolete, use ldap_controls_freeW.
*/
*/
ULONG
ldap_free_controlsW
(
LDAPControlW
**
controls
)
ULONG
CDECL
ldap_free_controlsW
(
LDAPControlW
**
controls
)
{
{
return
ldap_controls_freeW
(
controls
);
return
ldap_controls_freeW
(
controls
);
}
}
dlls/wldap32/delete.c
View file @
91e45c62
...
@@ -45,7 +45,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
...
@@ -45,7 +45,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
*
*
* See ldap_deleteW.
* See ldap_deleteW.
*/
*/
ULONG
ldap_deleteA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
)
ULONG
CDECL
ldap_deleteA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -85,7 +85,7 @@ ULONG ldap_deleteA( WLDAP32_LDAP *ld, PCHAR dn )
...
@@ -85,7 +85,7 @@ ULONG ldap_deleteA( WLDAP32_LDAP *ld, PCHAR dn )
* the operation. Cancel the operation by calling ldap_abandon
* the operation. Cancel the operation by calling ldap_abandon
* with the message ID.
* with the message ID.
*/
*/
ULONG
ldap_deleteW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
)
ULONG
CDECL
ldap_deleteW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -119,7 +119,7 @@ ULONG ldap_deleteW( WLDAP32_LDAP *ld, PWCHAR dn )
...
@@ -119,7 +119,7 @@ ULONG ldap_deleteW( WLDAP32_LDAP *ld, PWCHAR dn )
*
*
* See ldap_delete_extW.
* See ldap_delete_extW.
*/
*/
ULONG
ldap_delete_extA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PLDAPControlA
*
serverctrls
,
ULONG
CDECL
ldap_delete_extA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
,
ULONG
*
message
)
PLDAPControlA
*
clientctrls
,
ULONG
*
message
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -179,7 +179,7 @@ exit:
...
@@ -179,7 +179,7 @@ exit:
* the operation. The serverctrls and clientctrls parameters are
* the operation. The serverctrls and clientctrls parameters are
* optional and should be set to NULL if not used.
* optional and should be set to NULL if not used.
*/
*/
ULONG
ldap_delete_extW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PLDAPControlW
*
serverctrls
,
ULONG
CDECL
ldap_delete_extW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
,
ULONG
*
message
)
PLDAPControlW
*
clientctrls
,
ULONG
*
message
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -225,7 +225,7 @@ exit:
...
@@ -225,7 +225,7 @@ exit:
*
*
* See ldap_delete_ext_sW.
* See ldap_delete_ext_sW.
*/
*/
ULONG
ldap_delete_ext_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PLDAPControlA
*
serverctrls
,
ULONG
CDECL
ldap_delete_ext_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
)
PLDAPControlA
*
clientctrls
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -281,7 +281,7 @@ exit:
...
@@ -281,7 +281,7 @@ exit:
* The serverctrls and clientctrls parameters are optional and
* The serverctrls and clientctrls parameters are optional and
* should be set to NULL if not used.
* should be set to NULL if not used.
*/
*/
ULONG
ldap_delete_ext_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PLDAPControlW
*
serverctrls
,
ULONG
CDECL
ldap_delete_ext_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
)
PLDAPControlW
*
clientctrls
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -323,7 +323,7 @@ exit:
...
@@ -323,7 +323,7 @@ exit:
*
*
* See ldap_delete_sW.
* See ldap_delete_sW.
*/
*/
ULONG
ldap_delete_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
)
ULONG
CDECL
ldap_delete_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -358,7 +358,7 @@ ULONG ldap_delete_sA( WLDAP32_LDAP *ld, PCHAR dn )
...
@@ -358,7 +358,7 @@ ULONG ldap_delete_sA( WLDAP32_LDAP *ld, PCHAR dn )
* Success: LDAP_SUCCESS
* Success: LDAP_SUCCESS
* Failure: An LDAP error code.
* Failure: An LDAP error code.
*/
*/
ULONG
ldap_delete_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
)
ULONG
CDECL
ldap_delete_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
...
dlls/wldap32/dn.c
View file @
91e45c62
...
@@ -45,7 +45,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
...
@@ -45,7 +45,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
*
*
* See ldap_dn2ufnW.
* See ldap_dn2ufnW.
*/
*/
PCHAR
ldap_dn2ufnA
(
PCHAR
dn
)
PCHAR
CDECL
ldap_dn2ufnA
(
PCHAR
dn
)
{
{
PCHAR
ret
=
NULL
;
PCHAR
ret
=
NULL
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -81,7 +81,7 @@ PCHAR ldap_dn2ufnA( PCHAR dn )
...
@@ -81,7 +81,7 @@ PCHAR ldap_dn2ufnA( PCHAR dn )
* NOTES
* NOTES
* Free the string with ldap_memfree.
* Free the string with ldap_memfree.
*/
*/
PWCHAR
ldap_dn2ufnW
(
PWCHAR
dn
)
PWCHAR
CDECL
ldap_dn2ufnW
(
PWCHAR
dn
)
{
{
PWCHAR
ret
=
NULL
;
PWCHAR
ret
=
NULL
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -107,7 +107,7 @@ PWCHAR ldap_dn2ufnW( PWCHAR dn )
...
@@ -107,7 +107,7 @@ PWCHAR ldap_dn2ufnW( PWCHAR dn )
*
*
* See ldap_explode_dnW.
* See ldap_explode_dnW.
*/
*/
PCHAR
*
ldap_explode_dnA
(
PCHAR
dn
,
ULONG
notypes
)
PCHAR
*
CDECL
ldap_explode_dnA
(
PCHAR
dn
,
ULONG
notypes
)
{
{
PCHAR
*
ret
=
NULL
;
PCHAR
*
ret
=
NULL
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -145,7 +145,7 @@ PCHAR *ldap_explode_dnA( PCHAR dn, ULONG notypes )
...
@@ -145,7 +145,7 @@ PCHAR *ldap_explode_dnA( PCHAR dn, ULONG notypes )
* NOTES
* NOTES
* Free the string array with ldap_value_free.
* Free the string array with ldap_value_free.
*/
*/
PWCHAR
*
ldap_explode_dnW
(
PWCHAR
dn
,
ULONG
notypes
)
PWCHAR
*
CDECL
ldap_explode_dnW
(
PWCHAR
dn
,
ULONG
notypes
)
{
{
PWCHAR
*
ret
=
NULL
;
PWCHAR
*
ret
=
NULL
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -171,7 +171,7 @@ PWCHAR *ldap_explode_dnW( PWCHAR dn, ULONG notypes )
...
@@ -171,7 +171,7 @@ PWCHAR *ldap_explode_dnW( PWCHAR dn, ULONG notypes )
*
*
* See ldap_get_dnW.
* See ldap_get_dnW.
*/
*/
PCHAR
ldap_get_dnA
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
entry
)
PCHAR
CDECL
ldap_get_dnA
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
entry
)
{
{
PCHAR
ret
=
NULL
;
PCHAR
ret
=
NULL
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -206,7 +206,7 @@ PCHAR ldap_get_dnA( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *entry )
...
@@ -206,7 +206,7 @@ PCHAR ldap_get_dnA( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *entry )
* NOTES
* NOTES
* Free the string with ldap_memfree.
* Free the string with ldap_memfree.
*/
*/
PWCHAR
ldap_get_dnW
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
entry
)
PWCHAR
CDECL
ldap_get_dnW
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
entry
)
{
{
PWCHAR
ret
=
NULL
;
PWCHAR
ret
=
NULL
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -230,7 +230,7 @@ PWCHAR ldap_get_dnW( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *entry )
...
@@ -230,7 +230,7 @@ PWCHAR ldap_get_dnW( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *entry )
*
*
* See ldap_ufn2dnW.
* See ldap_ufn2dnW.
*/
*/
ULONG
ldap_ufn2dnA
(
PCHAR
ufn
,
PCHAR
*
dn
)
ULONG
CDECL
ldap_ufn2dnA
(
PCHAR
ufn
,
PCHAR
*
dn
)
{
{
ULONG
ret
=
LDAP_SUCCESS
;
ULONG
ret
=
LDAP_SUCCESS
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -277,7 +277,7 @@ ULONG ldap_ufn2dnA( PCHAR ufn, PCHAR *dn )
...
@@ -277,7 +277,7 @@ ULONG ldap_ufn2dnA( PCHAR ufn, PCHAR *dn )
* NOTES
* NOTES
* Free the string with ldap_memfree.
* Free the string with ldap_memfree.
*/
*/
ULONG
ldap_ufn2dnW
(
PWCHAR
ufn
,
PWCHAR
*
dn
)
ULONG
CDECL
ldap_ufn2dnW
(
PWCHAR
ufn
,
PWCHAR
*
dn
)
{
{
ULONG
ret
=
LDAP_SUCCESS
;
ULONG
ret
=
LDAP_SUCCESS
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
...
dlls/wldap32/error.c
View file @
91e45c62
...
@@ -49,7 +49,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
...
@@ -49,7 +49,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
*
*
* See ldap_err2stringW.
* See ldap_err2stringW.
*/
*/
PCHAR
ldap_err2stringA
(
ULONG
err
)
PCHAR
CDECL
ldap_err2stringA
(
ULONG
err
)
{
{
static
char
buf
[
256
]
=
""
;
static
char
buf
[
256
]
=
""
;
...
@@ -79,7 +79,7 @@ PCHAR ldap_err2stringA( ULONG err )
...
@@ -79,7 +79,7 @@ PCHAR ldap_err2stringA( ULONG err )
* The returned string is statically allocated, you must not
* The returned string is statically allocated, you must not
* free this string.
* free this string.
*/
*/
PWCHAR
ldap_err2stringW
(
ULONG
err
)
PWCHAR
CDECL
ldap_err2stringW
(
ULONG
err
)
{
{
static
WCHAR
buf
[
256
]
=
{
0
};
static
WCHAR
buf
[
256
]
=
{
0
};
...
@@ -108,7 +108,7 @@ PWCHAR ldap_err2stringW( ULONG err )
...
@@ -108,7 +108,7 @@ PWCHAR ldap_err2stringW( ULONG err )
* NOTES
* NOTES
* Like native, this function does nothing.
* Like native, this function does nothing.
*/
*/
void
WLDAP32_ldap_perror
(
WLDAP32_LDAP
*
ld
,
const
PCHAR
msg
)
void
CDECL
WLDAP32_ldap_perror
(
WLDAP32_LDAP
*
ld
,
const
PCHAR
msg
)
{
{
TRACE
(
"(%p, %s)
\n
"
,
ld
,
debugstr_a
(
msg
)
);
TRACE
(
"(%p, %s)
\n
"
,
ld
,
debugstr_a
(
msg
)
);
}
}
...
@@ -130,7 +130,7 @@ void WLDAP32_ldap_perror( WLDAP32_LDAP *ld, const PCHAR msg )
...
@@ -130,7 +130,7 @@ void WLDAP32_ldap_perror( WLDAP32_LDAP *ld, const PCHAR msg )
* NOTES
* NOTES
* If not asked for, use ldap_msgfree to free the LDAPMessage.
* If not asked for, use ldap_msgfree to free the LDAPMessage.
*/
*/
ULONG
WLDAP32_ldap_result2error
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
res
,
ULONG
free
)
ULONG
CDECL
WLDAP32_ldap_result2error
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
res
,
ULONG
free
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -162,7 +162,7 @@ ULONG WLDAP32_ldap_result2error( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *res, ULO
...
@@ -162,7 +162,7 @@ ULONG WLDAP32_ldap_result2error( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *res, ULO
* RETURNS
* RETURNS
* An LDAP error code.
* An LDAP error code.
*/
*/
ULONG
LdapGetLastError
(
void
)
ULONG
CDECL
LdapGetLastError
(
void
)
{
{
TRACE
(
"
\n
"
);
TRACE
(
"
\n
"
);
return
GetLastError
();
return
GetLastError
();
...
@@ -280,7 +280,7 @@ static const ULONG WLDAP32_errormap[] = {
...
@@ -280,7 +280,7 @@ static const ULONG WLDAP32_errormap[] = {
* RETURNS
* RETURNS
* A Win32 error code.
* A Win32 error code.
*/
*/
ULONG
LdapMapErrorToWin32
(
ULONG
err
)
ULONG
CDECL
LdapMapErrorToWin32
(
ULONG
err
)
{
{
TRACE
(
"(0x%08lx)
\n
"
,
err
);
TRACE
(
"(0x%08lx)
\n
"
,
err
);
...
...
dlls/wldap32/extended.c
View file @
91e45c62
...
@@ -58,7 +58,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
...
@@ -58,7 +58,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
* Contrary to native, OpenLDAP does not require us to close
* Contrary to native, OpenLDAP does not require us to close
* extended operations, so this is a no-op.
* extended operations, so this is a no-op.
*/
*/
ULONG
ldap_close_extended_op
(
WLDAP32_LDAP
*
ld
,
ULONG
msgid
)
ULONG
CDECL
ldap_close_extended_op
(
WLDAP32_LDAP
*
ld
,
ULONG
msgid
)
{
{
TRACE
(
"(%p, 0x%08lx)
\n
"
,
ld
,
msgid
);
TRACE
(
"(%p, 0x%08lx)
\n
"
,
ld
,
msgid
);
...
@@ -71,7 +71,7 @@ ULONG ldap_close_extended_op( WLDAP32_LDAP *ld, ULONG msgid )
...
@@ -71,7 +71,7 @@ ULONG ldap_close_extended_op( WLDAP32_LDAP *ld, ULONG msgid )
*
*
* See ldap_extended_operationW.
* See ldap_extended_operationW.
*/
*/
ULONG
ldap_extended_operationA
(
WLDAP32_LDAP
*
ld
,
PCHAR
oid
,
struct
WLDAP32_berval
*
data
,
ULONG
CDECL
ldap_extended_operationA
(
WLDAP32_LDAP
*
ld
,
PCHAR
oid
,
struct
WLDAP32_berval
*
data
,
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
,
ULONG
*
message
)
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
,
ULONG
*
message
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -135,7 +135,7 @@ exit:
...
@@ -135,7 +135,7 @@ exit:
* are optional and should be set to NULL if not used. Call
* are optional and should be set to NULL if not used. Call
* ldap_close_extended_op to close the operation.
* ldap_close_extended_op to close the operation.
*/
*/
ULONG
ldap_extended_operationW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
oid
,
struct
WLDAP32_berval
*
data
,
ULONG
CDECL
ldap_extended_operationW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
oid
,
struct
WLDAP32_berval
*
data
,
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
,
ULONG
*
message
)
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
,
ULONG
*
message
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -180,7 +180,7 @@ exit:
...
@@ -180,7 +180,7 @@ exit:
*
*
* See ldap_extended_operation_sW.
* See ldap_extended_operation_sW.
*/
*/
ULONG
ldap_extended_operation_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
oid
,
struct
WLDAP32_berval
*
data
,
ULONG
CDECL
ldap_extended_operation_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
oid
,
struct
WLDAP32_berval
*
data
,
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
,
PCHAR
*
retoid
,
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
,
PCHAR
*
retoid
,
struct
WLDAP32_berval
**
retdata
)
struct
WLDAP32_berval
**
retdata
)
{
{
...
@@ -251,7 +251,7 @@ exit:
...
@@ -251,7 +251,7 @@ exit:
* and retdata parameters are also optional. Set to NULL if not
* and retdata parameters are also optional. Set to NULL if not
* used. Free retoid and retdata after use with ldap_memfree.
* used. Free retoid and retdata after use with ldap_memfree.
*/
*/
ULONG
ldap_extended_operation_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
oid
,
struct
WLDAP32_berval
*
data
,
ULONG
CDECL
ldap_extended_operation_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
oid
,
struct
WLDAP32_berval
*
data
,
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
,
PWCHAR
*
retoid
,
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
,
PWCHAR
*
retoid
,
struct
WLDAP32_berval
**
retdata
)
struct
WLDAP32_berval
**
retdata
)
{
{
...
...
dlls/wldap32/init.c
View file @
91e45c62
...
@@ -218,7 +218,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
...
@@ -218,7 +218,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
*
*
* See cldap_openW.
* See cldap_openW.
*/
*/
WLDAP32_LDAP
*
cldap_openA
(
PCHAR
hostname
,
ULONG
portnumber
)
WLDAP32_LDAP
*
CDECL
cldap_openA
(
PCHAR
hostname
,
ULONG
portnumber
)
{
{
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
WLDAP32_LDAP
*
ld
=
NULL
;
WLDAP32_LDAP
*
ld
=
NULL
;
...
@@ -262,7 +262,7 @@ exit:
...
@@ -262,7 +262,7 @@ exit:
* will take precedence over the portnumber supplied as a parameter
* will take precedence over the portnumber supplied as a parameter
* to this function.
* to this function.
*/
*/
WLDAP32_LDAP
*
cldap_openW
(
PWCHAR
hostname
,
ULONG
portnumber
)
WLDAP32_LDAP
*
CDECL
cldap_openW
(
PWCHAR
hostname
,
ULONG
portnumber
)
{
{
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
LDAP
*
ld
=
NULL
;
LDAP
*
ld
=
NULL
;
...
@@ -311,7 +311,7 @@ exit:
...
@@ -311,7 +311,7 @@ exit:
* The timeout parameter may be NULL in which case a default timeout
* The timeout parameter may be NULL in which case a default timeout
* value will be used.
* value will be used.
*/
*/
ULONG
ldap_connect
(
WLDAP32_LDAP
*
ld
,
struct
l_timeval
*
timeout
)
ULONG
CDECL
ldap_connect
(
WLDAP32_LDAP
*
ld
,
struct
l_timeval
*
timeout
)
{
{
TRACE
(
"(%p, %p)
\n
"
,
ld
,
timeout
);
TRACE
(
"(%p, %p)
\n
"
,
ld
,
timeout
);
...
@@ -324,7 +324,7 @@ ULONG ldap_connect( WLDAP32_LDAP *ld, struct l_timeval *timeout )
...
@@ -324,7 +324,7 @@ ULONG ldap_connect( WLDAP32_LDAP *ld, struct l_timeval *timeout )
*
*
* See ldap_initW.
* See ldap_initW.
*/
*/
WLDAP32_LDAP
*
ldap_initA
(
PCHAR
hostname
,
ULONG
portnumber
)
WLDAP32_LDAP
*
CDECL
ldap_initA
(
PCHAR
hostname
,
ULONG
portnumber
)
{
{
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
WLDAP32_LDAP
*
ld
=
NULL
;
WLDAP32_LDAP
*
ld
=
NULL
;
...
@@ -369,7 +369,7 @@ exit:
...
@@ -369,7 +369,7 @@ exit:
* to this function. The connection will not be made until the first
* to this function. The connection will not be made until the first
* LDAP function that needs it is called.
* LDAP function that needs it is called.
*/
*/
WLDAP32_LDAP
*
ldap_initW
(
PWCHAR
hostname
,
ULONG
portnumber
)
WLDAP32_LDAP
*
CDECL
ldap_initW
(
PWCHAR
hostname
,
ULONG
portnumber
)
{
{
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
LDAP
*
ld
=
NULL
;
LDAP
*
ld
=
NULL
;
...
@@ -405,7 +405,7 @@ exit:
...
@@ -405,7 +405,7 @@ exit:
*
*
* See ldap_openW.
* See ldap_openW.
*/
*/
WLDAP32_LDAP
*
ldap_openA
(
PCHAR
hostname
,
ULONG
portnumber
)
WLDAP32_LDAP
*
CDECL
ldap_openA
(
PCHAR
hostname
,
ULONG
portnumber
)
{
{
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
WLDAP32_LDAP
*
ld
=
NULL
;
WLDAP32_LDAP
*
ld
=
NULL
;
...
@@ -449,7 +449,7 @@ exit:
...
@@ -449,7 +449,7 @@ exit:
* will take precedence over the portnumber supplied as a parameter
* will take precedence over the portnumber supplied as a parameter
* to this function.
* to this function.
*/
*/
WLDAP32_LDAP
*
ldap_openW
(
PWCHAR
hostname
,
ULONG
portnumber
)
WLDAP32_LDAP
*
CDECL
ldap_openW
(
PWCHAR
hostname
,
ULONG
portnumber
)
{
{
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
LDAP
*
ld
=
NULL
;
LDAP
*
ld
=
NULL
;
...
@@ -485,7 +485,7 @@ exit:
...
@@ -485,7 +485,7 @@ exit:
*
*
* See ldap_sslinitW.
* See ldap_sslinitW.
*/
*/
WLDAP32_LDAP
*
ldap_sslinitA
(
PCHAR
hostname
,
ULONG
portnumber
,
int
secure
)
WLDAP32_LDAP
*
CDECL
ldap_sslinitA
(
PCHAR
hostname
,
ULONG
portnumber
,
int
secure
)
{
{
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
WLDAP32_LDAP
*
ld
;
WLDAP32_LDAP
*
ld
;
...
@@ -530,7 +530,7 @@ WLDAP32_LDAP *ldap_sslinitA( PCHAR hostname, ULONG portnumber, int secure )
...
@@ -530,7 +530,7 @@ WLDAP32_LDAP *ldap_sslinitA( PCHAR hostname, ULONG portnumber, int secure )
* to this function. The connection will not be made until the first
* to this function. The connection will not be made until the first
* LDAP function that needs it is called.
* LDAP function that needs it is called.
*/
*/
WLDAP32_LDAP
*
ldap_sslinitW
(
PWCHAR
hostname
,
ULONG
portnumber
,
int
secure
)
WLDAP32_LDAP
*
CDECL
ldap_sslinitW
(
PWCHAR
hostname
,
ULONG
portnumber
,
int
secure
)
{
{
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
WLDAP32_LDAP
*
ld
=
NULL
;
WLDAP32_LDAP
*
ld
=
NULL
;
...
@@ -569,7 +569,7 @@ exit:
...
@@ -569,7 +569,7 @@ exit:
*
*
* See ldap_start_tls_sW.
* See ldap_start_tls_sW.
*/
*/
ULONG
ldap_start_tls_sA
(
WLDAP32_LDAP
*
ld
,
PULONG
retval
,
WLDAP32_LDAPMessage
**
result
,
ULONG
CDECL
ldap_start_tls_sA
(
WLDAP32_LDAP
*
ld
,
PULONG
retval
,
WLDAP32_LDAPMessage
**
result
,
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
)
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -620,7 +620,7 @@ exit:
...
@@ -620,7 +620,7 @@ exit:
* NOTES
* NOTES
* LDAP function that needs it is called.
* LDAP function that needs it is called.
*/
*/
ULONG
ldap_start_tls_sW
(
WLDAP32_LDAP
*
ld
,
PULONG
retval
,
WLDAP32_LDAPMessage
**
result
,
ULONG
CDECL
ldap_start_tls_sW
(
WLDAP32_LDAP
*
ld
,
PULONG
retval
,
WLDAP32_LDAPMessage
**
result
,
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
)
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -655,7 +655,7 @@ exit:
...
@@ -655,7 +655,7 @@ exit:
/***********************************************************************
/***********************************************************************
* ldap_startup (WLDAP32.@)
* ldap_startup (WLDAP32.@)
*/
*/
ULONG
ldap_startup
(
PLDAP_VERSION_INFO
version
,
HANDLE
*
instance
)
ULONG
CDECL
ldap_startup
(
PLDAP_VERSION_INFO
version
,
HANDLE
*
instance
)
{
{
TRACE
(
"(%p, %p)
\n
"
,
version
,
instance
);
TRACE
(
"(%p, %p)
\n
"
,
version
,
instance
);
return
LDAP_SUCCESS
;
return
LDAP_SUCCESS
;
...
@@ -673,7 +673,7 @@ ULONG ldap_startup( PLDAP_VERSION_INFO version, HANDLE *instance )
...
@@ -673,7 +673,7 @@ ULONG ldap_startup( PLDAP_VERSION_INFO version, HANDLE *instance )
* Success: TRUE
* Success: TRUE
* Failure: FALSE
* Failure: FALSE
*/
*/
BOOLEAN
ldap_stop_tls_s
(
WLDAP32_LDAP
*
ld
)
BOOLEAN
CDECL
ldap_stop_tls_s
(
WLDAP32_LDAP
*
ld
)
{
{
TRACE
(
"(%p)
\n
"
,
ld
);
TRACE
(
"(%p)
\n
"
,
ld
);
return
TRUE
;
/* FIXME: find a way to stop tls on a connection */
return
TRUE
;
/* FIXME: find a way to stop tls on a connection */
...
...
dlls/wldap32/misc.c
View file @
91e45c62
...
@@ -55,7 +55,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
...
@@ -55,7 +55,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
* Success: LDAP_SUCCESS
* Success: LDAP_SUCCESS
* Failure: An LDAP error code.
* Failure: An LDAP error code.
*/
*/
ULONG
WLDAP32_ldap_abandon
(
WLDAP32_LDAP
*
ld
,
ULONG
msgid
)
ULONG
CDECL
WLDAP32_ldap_abandon
(
WLDAP32_LDAP
*
ld
,
ULONG
msgid
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -74,7 +74,7 @@ ULONG WLDAP32_ldap_abandon( WLDAP32_LDAP *ld, ULONG msgid )
...
@@ -74,7 +74,7 @@ ULONG WLDAP32_ldap_abandon( WLDAP32_LDAP *ld, ULONG msgid )
*
*
* See ldap_check_filterW.
* See ldap_check_filterW.
*/
*/
ULONG
ldap_check_filterA
(
WLDAP32_LDAP
*
ld
,
PCHAR
filter
)
ULONG
CDECL
ldap_check_filterA
(
WLDAP32_LDAP
*
ld
,
PCHAR
filter
)
{
{
ULONG
ret
;
ULONG
ret
;
WCHAR
*
filterW
=
NULL
;
WCHAR
*
filterW
=
NULL
;
...
@@ -107,7 +107,7 @@ ULONG ldap_check_filterA( WLDAP32_LDAP *ld, PCHAR filter )
...
@@ -107,7 +107,7 @@ ULONG ldap_check_filterA( WLDAP32_LDAP *ld, PCHAR filter )
* Success: LDAP_SUCCESS
* Success: LDAP_SUCCESS
* Failure: An LDAP error code.
* Failure: An LDAP error code.
*/
*/
ULONG
ldap_check_filterW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
filter
)
ULONG
CDECL
ldap_check_filterW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
filter
)
{
{
TRACE
(
"(%p, %s)
\n
"
,
ld
,
debugstr_w
(
filter
)
);
TRACE
(
"(%p, %s)
\n
"
,
ld
,
debugstr_w
(
filter
)
);
...
@@ -118,7 +118,7 @@ ULONG ldap_check_filterW( WLDAP32_LDAP *ld, PWCHAR filter )
...
@@ -118,7 +118,7 @@ ULONG ldap_check_filterW( WLDAP32_LDAP *ld, PWCHAR filter )
/***********************************************************************
/***********************************************************************
* ldap_cleanup (WLDAP32.@)
* ldap_cleanup (WLDAP32.@)
*/
*/
ULONG
ldap_cleanup
(
HANDLE
instance
)
ULONG
CDECL
ldap_cleanup
(
HANDLE
instance
)
{
{
TRACE
(
"(%p)
\n
"
,
instance
);
TRACE
(
"(%p)
\n
"
,
instance
);
return
LDAP_SUCCESS
;
return
LDAP_SUCCESS
;
...
@@ -137,7 +137,7 @@ ULONG ldap_cleanup( HANDLE instance )
...
@@ -137,7 +137,7 @@ ULONG ldap_cleanup( HANDLE instance )
* Success: Pointer to an LDAP context.
* Success: Pointer to an LDAP context.
* Failure: NULL
* Failure: NULL
*/
*/
WLDAP32_LDAP
*
ldap_conn_from_msg
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
res
)
WLDAP32_LDAP
*
CDECL
ldap_conn_from_msg
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
res
)
{
{
TRACE
(
"(%p, %p)
\n
"
,
ld
,
res
);
TRACE
(
"(%p, %p)
\n
"
,
ld
,
res
);
...
@@ -158,7 +158,7 @@ WLDAP32_LDAP *ldap_conn_from_msg( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *res )
...
@@ -158,7 +158,7 @@ WLDAP32_LDAP *ldap_conn_from_msg( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *res )
* Success: The number of entries.
* Success: The number of entries.
* Failure: ~0UL
* Failure: ~0UL
*/
*/
ULONG
WLDAP32_ldap_count_entries
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
res
)
ULONG
CDECL
WLDAP32_ldap_count_entries
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
res
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -185,7 +185,7 @@ ULONG WLDAP32_ldap_count_entries( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *res )
...
@@ -185,7 +185,7 @@ ULONG WLDAP32_ldap_count_entries( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *res )
* Success: The number of references.
* Success: The number of references.
* Failure: ~0UL
* Failure: ~0UL
*/
*/
ULONG
WLDAP32_ldap_count_references
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
res
)
ULONG
CDECL
WLDAP32_ldap_count_references
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
res
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP_COUNT_REFERENCES
#ifdef HAVE_LDAP_COUNT_REFERENCES
...
@@ -244,7 +244,7 @@ static void escape_filter_element( PCHAR src, ULONG srclen, PCHAR dst )
...
@@ -244,7 +244,7 @@ static void escape_filter_element( PCHAR src, ULONG srclen, PCHAR dst )
*
*
* See ldap_escape_filter_elementW.
* See ldap_escape_filter_elementW.
*/
*/
ULONG
ldap_escape_filter_elementA
(
PCHAR
src
,
ULONG
srclen
,
PCHAR
dst
,
ULONG
dstlen
)
ULONG
CDECL
ldap_escape_filter_elementA
(
PCHAR
src
,
ULONG
srclen
,
PCHAR
dst
,
ULONG
dstlen
)
{
{
ULONG
len
;
ULONG
len
;
...
@@ -277,7 +277,7 @@ ULONG ldap_escape_filter_elementA( PCHAR src, ULONG srclen, PCHAR dst, ULONG dst
...
@@ -277,7 +277,7 @@ ULONG ldap_escape_filter_elementA( PCHAR src, ULONG srclen, PCHAR dst, ULONG dst
* Success: LDAP_SUCCESS
* Success: LDAP_SUCCESS
* Failure: An LDAP error code.
* Failure: An LDAP error code.
*/
*/
ULONG
ldap_escape_filter_elementW
(
PCHAR
src
,
ULONG
srclen
,
PWCHAR
dst
,
ULONG
dstlen
)
ULONG
CDECL
ldap_escape_filter_elementW
(
PCHAR
src
,
ULONG
srclen
,
PWCHAR
dst
,
ULONG
dstlen
)
{
{
ULONG
len
;
ULONG
len
;
...
@@ -295,7 +295,7 @@ ULONG ldap_escape_filter_elementW( PCHAR src, ULONG srclen, PWCHAR dst, ULONG ds
...
@@ -295,7 +295,7 @@ ULONG ldap_escape_filter_elementW( PCHAR src, ULONG srclen, PWCHAR dst, ULONG ds
*
*
* See ldap_first_attributeW.
* See ldap_first_attributeW.
*/
*/
PCHAR
ldap_first_attributeA
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
entry
,
PCHAR
CDECL
ldap_first_attributeA
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
entry
,
WLDAP32_BerElement
**
ptr
)
WLDAP32_BerElement
**
ptr
)
{
{
PCHAR
ret
=
NULL
;
PCHAR
ret
=
NULL
;
...
@@ -331,7 +331,7 @@ PCHAR ldap_first_attributeA( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *entry,
...
@@ -331,7 +331,7 @@ PCHAR ldap_first_attributeA( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *entry,
* NOTES
* NOTES
* Use ldap_memfree to free the returned string.
* Use ldap_memfree to free the returned string.
*/
*/
PWCHAR
ldap_first_attributeW
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
entry
,
PWCHAR
CDECL
ldap_first_attributeW
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
entry
,
WLDAP32_BerElement
**
ptr
)
WLDAP32_BerElement
**
ptr
)
{
{
PWCHAR
ret
=
NULL
;
PWCHAR
ret
=
NULL
;
...
@@ -366,7 +366,7 @@ PWCHAR ldap_first_attributeW( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *entry,
...
@@ -366,7 +366,7 @@ PWCHAR ldap_first_attributeW( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *entry,
* NOTES
* NOTES
* The returned entry will be freed when the message is freed.
* The returned entry will be freed when the message is freed.
*/
*/
WLDAP32_LDAPMessage
*
WLDAP32_ldap_first_entry
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
res
)
WLDAP32_LDAPMessage
*
CDECL
WLDAP32_ldap_first_entry
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
res
)
{
{
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -392,7 +392,7 @@ WLDAP32_LDAPMessage *WLDAP32_ldap_first_entry( WLDAP32_LDAP *ld, WLDAP32_LDAPMes
...
@@ -392,7 +392,7 @@ WLDAP32_LDAPMessage *WLDAP32_ldap_first_entry( WLDAP32_LDAP *ld, WLDAP32_LDAPMes
* Success: The first reference.
* Success: The first reference.
* Failure: NULL
* Failure: NULL
*/
*/
WLDAP32_LDAPMessage
*
WLDAP32_ldap_first_reference
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
res
)
WLDAP32_LDAPMessage
*
CDECL
WLDAP32_ldap_first_reference
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
res
)
{
{
#ifdef HAVE_LDAP_FIRST_REFERENCE
#ifdef HAVE_LDAP_FIRST_REFERENCE
...
@@ -410,7 +410,7 @@ WLDAP32_LDAPMessage *WLDAP32_ldap_first_reference( WLDAP32_LDAP *ld, WLDAP32_LDA
...
@@ -410,7 +410,7 @@ WLDAP32_LDAPMessage *WLDAP32_ldap_first_reference( WLDAP32_LDAP *ld, WLDAP32_LDA
*
*
* See ldap_memfreeW.
* See ldap_memfreeW.
*/
*/
void
ldap_memfreeA
(
PCHAR
block
)
void
CDECL
ldap_memfreeA
(
PCHAR
block
)
{
{
TRACE
(
"(%p)
\n
"
,
block
);
TRACE
(
"(%p)
\n
"
,
block
);
strfreeA
(
block
);
strfreeA
(
block
);
...
@@ -424,7 +424,7 @@ void ldap_memfreeA( PCHAR block )
...
@@ -424,7 +424,7 @@ void ldap_memfreeA( PCHAR block )
* PARAMS
* PARAMS
* block [I] Pointer to memory block to be freed.
* block [I] Pointer to memory block to be freed.
*/
*/
void
ldap_memfreeW
(
PWCHAR
block
)
void
CDECL
ldap_memfreeW
(
PWCHAR
block
)
{
{
TRACE
(
"(%p)
\n
"
,
block
);
TRACE
(
"(%p)
\n
"
,
block
);
strfreeW
(
block
);
strfreeW
(
block
);
...
@@ -438,7 +438,7 @@ void ldap_memfreeW( PWCHAR block )
...
@@ -438,7 +438,7 @@ void ldap_memfreeW( PWCHAR block )
* PARAMS
* PARAMS
* res [I] Message to be freed.
* res [I] Message to be freed.
*/
*/
ULONG
WLDAP32_ldap_msgfree
(
WLDAP32_LDAPMessage
*
res
)
ULONG
CDECL
WLDAP32_ldap_msgfree
(
WLDAP32_LDAPMessage
*
res
)
{
{
ULONG
ret
=
LDAP_SUCCESS
;
ULONG
ret
=
LDAP_SUCCESS
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -455,7 +455,7 @@ ULONG WLDAP32_ldap_msgfree( WLDAP32_LDAPMessage *res )
...
@@ -455,7 +455,7 @@ ULONG WLDAP32_ldap_msgfree( WLDAP32_LDAPMessage *res )
*
*
* See ldap_next_attributeW.
* See ldap_next_attributeW.
*/
*/
PCHAR
ldap_next_attributeA
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
entry
,
PCHAR
CDECL
ldap_next_attributeA
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
entry
,
WLDAP32_BerElement
*
ptr
)
WLDAP32_BerElement
*
ptr
)
{
{
PCHAR
ret
=
NULL
;
PCHAR
ret
=
NULL
;
...
@@ -492,7 +492,7 @@ PCHAR ldap_next_attributeA( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *entry,
...
@@ -492,7 +492,7 @@ PCHAR ldap_next_attributeA( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *entry,
* Free the returned string after each iteration with ldap_memfree.
* Free the returned string after each iteration with ldap_memfree.
* When done iterating and when ptr != NULL, call ber_free( ptr, 0 ).
* When done iterating and when ptr != NULL, call ber_free( ptr, 0 ).
*/
*/
PWCHAR
ldap_next_attributeW
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
entry
,
PWCHAR
CDECL
ldap_next_attributeW
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
entry
,
WLDAP32_BerElement
*
ptr
)
WLDAP32_BerElement
*
ptr
)
{
{
PWCHAR
ret
=
NULL
;
PWCHAR
ret
=
NULL
;
...
@@ -527,7 +527,7 @@ PWCHAR ldap_next_attributeW( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *entry,
...
@@ -527,7 +527,7 @@ PWCHAR ldap_next_attributeW( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *entry,
* NOTES
* NOTES
* The returned entry will be freed when the message is freed.
* The returned entry will be freed when the message is freed.
*/
*/
WLDAP32_LDAPMessage
*
WLDAP32_ldap_next_entry
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
entry
)
WLDAP32_LDAPMessage
*
CDECL
WLDAP32_ldap_next_entry
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
entry
)
{
{
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -556,7 +556,7 @@ WLDAP32_LDAPMessage *WLDAP32_ldap_next_entry( WLDAP32_LDAP *ld, WLDAP32_LDAPMess
...
@@ -556,7 +556,7 @@ WLDAP32_LDAPMessage *WLDAP32_ldap_next_entry( WLDAP32_LDAP *ld, WLDAP32_LDAPMess
* NOTES
* NOTES
* The returned entry will be freed when the message is freed.
* The returned entry will be freed when the message is freed.
*/
*/
WLDAP32_LDAPMessage
*
WLDAP32_ldap_next_reference
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
entry
)
WLDAP32_LDAPMessage
*
CDECL
WLDAP32_ldap_next_reference
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
entry
)
{
{
#ifdef HAVE_LDAP_NEXT_REFERENCE
#ifdef HAVE_LDAP_NEXT_REFERENCE
...
@@ -605,7 +605,7 @@ WLDAP32_LDAPMessage *WLDAP32_ldap_next_reference( WLDAP32_LDAP *ld, WLDAP32_LDAP
...
@@ -605,7 +605,7 @@ WLDAP32_LDAPMessage *WLDAP32_ldap_next_reference( WLDAP32_LDAP *ld, WLDAP32_LDAP
* to immediately return any available results. Free returned results
* to immediately return any available results. Free returned results
* with ldap_msgfree.
* with ldap_msgfree.
*/
*/
ULONG
WLDAP32_ldap_result
(
WLDAP32_LDAP
*
ld
,
ULONG
msgid
,
ULONG
all
,
ULONG
CDECL
WLDAP32_ldap_result
(
WLDAP32_LDAP
*
ld
,
ULONG
msgid
,
ULONG
all
,
struct
l_timeval
*
timeout
,
WLDAP32_LDAPMessage
**
res
)
struct
l_timeval
*
timeout
,
WLDAP32_LDAPMessage
**
res
)
{
{
ULONG
ret
=
WLDAP32_LDAP_NOT_SUPPORTED
;
ULONG
ret
=
WLDAP32_LDAP_NOT_SUPPORTED
;
...
@@ -637,7 +637,7 @@ ULONG WLDAP32_ldap_result( WLDAP32_LDAP *ld, ULONG msgid, ULONG all,
...
@@ -637,7 +637,7 @@ ULONG WLDAP32_ldap_result( WLDAP32_LDAP *ld, ULONG msgid, ULONG all,
* NOTES
* NOTES
* Set dstlen to zero to ask for the required buffer size.
* Set dstlen to zero to ask for the required buffer size.
*/
*/
int
LdapUnicodeToUTF8
(
LPCWSTR
src
,
int
srclen
,
LPSTR
dst
,
int
dstlen
)
int
CDECL
LdapUnicodeToUTF8
(
LPCWSTR
src
,
int
srclen
,
LPSTR
dst
,
int
dstlen
)
{
{
return
WideCharToMultiByte
(
CP_UTF8
,
0
,
src
,
srclen
,
dst
,
dstlen
,
NULL
,
NULL
);
return
WideCharToMultiByte
(
CP_UTF8
,
0
,
src
,
srclen
,
dst
,
dstlen
,
NULL
,
NULL
);
}
}
...
@@ -659,7 +659,7 @@ int LdapUnicodeToUTF8( LPCWSTR src, int srclen, LPSTR dst, int dstlen )
...
@@ -659,7 +659,7 @@ int LdapUnicodeToUTF8( LPCWSTR src, int srclen, LPSTR dst, int dstlen )
* NOTES
* NOTES
* Set dstlen to zero to ask for the required buffer size.
* Set dstlen to zero to ask for the required buffer size.
*/
*/
int
LdapUTF8ToUnicode
(
LPCSTR
src
,
int
srclen
,
LPWSTR
dst
,
int
dstlen
)
int
CDECL
LdapUTF8ToUnicode
(
LPCSTR
src
,
int
srclen
,
LPWSTR
dst
,
int
dstlen
)
{
{
return
MultiByteToWideChar
(
CP_UTF8
,
0
,
src
,
srclen
,
dst
,
dstlen
);
return
MultiByteToWideChar
(
CP_UTF8
,
0
,
src
,
srclen
,
dst
,
dstlen
);
}
}
dlls/wldap32/modify.c
View file @
91e45c62
...
@@ -51,7 +51,7 @@ static LDAPMod *nullmods[] = { NULL };
...
@@ -51,7 +51,7 @@ static LDAPMod *nullmods[] = { NULL };
*
*
* See ldap_modifyW.
* See ldap_modifyW.
*/
*/
ULONG
ldap_modifyA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
mods
[]
)
ULONG
CDECL
ldap_modifyA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
mods
[]
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -103,7 +103,7 @@ exit:
...
@@ -103,7 +103,7 @@ exit:
* the operation. Cancel the operation by calling ldap_abandon
* the operation. Cancel the operation by calling ldap_abandon
* with the message ID.
* with the message ID.
*/
*/
ULONG
ldap_modifyW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
mods
[]
)
ULONG
CDECL
ldap_modifyW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
mods
[]
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -147,7 +147,7 @@ exit:
...
@@ -147,7 +147,7 @@ exit:
*
*
* See ldap_modify_extW.
* See ldap_modify_extW.
*/
*/
ULONG
ldap_modify_extA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
mods
[],
ULONG
CDECL
ldap_modify_extA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
mods
[],
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
,
ULONG
*
message
)
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
,
ULONG
*
message
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -215,7 +215,7 @@ exit:
...
@@ -215,7 +215,7 @@ exit:
* the operation. The serverctrls and clientctrls parameters are
* the operation. The serverctrls and clientctrls parameters are
* optional and should be set to NULL if not used.
* optional and should be set to NULL if not used.
*/
*/
ULONG
ldap_modify_extW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
mods
[],
ULONG
CDECL
ldap_modify_extW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
mods
[],
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
,
ULONG
*
message
)
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
,
ULONG
*
message
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -267,7 +267,7 @@ exit:
...
@@ -267,7 +267,7 @@ exit:
*
*
* See ldap_modify_ext_sW.
* See ldap_modify_ext_sW.
*/
*/
ULONG
ldap_modify_ext_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
mods
[],
ULONG
CDECL
ldap_modify_ext_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
mods
[],
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
)
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -333,7 +333,7 @@ exit:
...
@@ -333,7 +333,7 @@ exit:
* The serverctrls and clientctrls parameters are optional and
* The serverctrls and clientctrls parameters are optional and
* should be set to NULL if not used.
* should be set to NULL if not used.
*/
*/
ULONG
ldap_modify_ext_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
mods
[],
ULONG
CDECL
ldap_modify_ext_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
mods
[],
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
)
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -384,7 +384,7 @@ exit:
...
@@ -384,7 +384,7 @@ exit:
*
*
* See ldap_modify_sW.
* See ldap_modify_sW.
*/
*/
ULONG
ldap_modify_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
mods
[]
)
ULONG
CDECL
ldap_modify_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
mods
[]
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -431,7 +431,7 @@ exit:
...
@@ -431,7 +431,7 @@ exit:
* Success: LDAP_SUCCESS
* Success: LDAP_SUCCESS
* Failure: An LDAP error code.
* Failure: An LDAP error code.
*/
*/
ULONG
ldap_modify_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
mods
[]
)
ULONG
CDECL
ldap_modify_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
mods
[]
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
...
dlls/wldap32/modrdn.c
View file @
91e45c62
...
@@ -45,7 +45,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
...
@@ -45,7 +45,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
*
*
* See ldap_modrdnW.
* See ldap_modrdnW.
*/
*/
ULONG
ldap_modrdnA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
newdn
)
ULONG
CDECL
ldap_modrdnA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
newdn
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -94,7 +94,7 @@ exit:
...
@@ -94,7 +94,7 @@ exit:
* the operation. Cancel the operation by calling ldap_abandon
* the operation. Cancel the operation by calling ldap_abandon
* with the message ID.
* with the message ID.
*/
*/
ULONG
ldap_modrdnW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
newdn
)
ULONG
CDECL
ldap_modrdnW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
newdn
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -135,7 +135,7 @@ exit:
...
@@ -135,7 +135,7 @@ exit:
*
*
* See ldap_modrdn2W.
* See ldap_modrdn2W.
*/
*/
ULONG
ldap_modrdn2A
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
newdn
,
INT
delete
)
ULONG
CDECL
ldap_modrdn2A
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
newdn
,
INT
delete
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -185,7 +185,7 @@ exit:
...
@@ -185,7 +185,7 @@ exit:
* the operation. Cancel the operation by calling ldap_abandon
* the operation. Cancel the operation by calling ldap_abandon
* with the message ID.
* with the message ID.
*/
*/
ULONG
ldap_modrdn2W
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
newdn
,
INT
delete
)
ULONG
CDECL
ldap_modrdn2W
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
newdn
,
INT
delete
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -226,7 +226,7 @@ exit:
...
@@ -226,7 +226,7 @@ exit:
*
*
* See ldap_modrdn2_sW.
* See ldap_modrdn2_sW.
*/
*/
ULONG
ldap_modrdn2_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
newdn
,
INT
delete
)
ULONG
CDECL
ldap_modrdn2_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
newdn
,
INT
delete
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -271,7 +271,7 @@ exit:
...
@@ -271,7 +271,7 @@ exit:
* Success: LDAP_SUCCESS
* Success: LDAP_SUCCESS
* Failure: An LDAP error code.
* Failure: An LDAP error code.
*/
*/
ULONG
ldap_modrdn2_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
newdn
,
INT
delete
)
ULONG
CDECL
ldap_modrdn2_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
newdn
,
INT
delete
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -306,7 +306,7 @@ exit:
...
@@ -306,7 +306,7 @@ exit:
*
*
* See ldap_modrdn_sW.
* See ldap_modrdn_sW.
*/
*/
ULONG
ldap_modrdn_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
newdn
)
ULONG
CDECL
ldap_modrdn_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
newdn
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -350,7 +350,7 @@ exit:
...
@@ -350,7 +350,7 @@ exit:
* Success: LDAP_SUCCESS
* Success: LDAP_SUCCESS
* Failure: An LDAP error code.
* Failure: An LDAP error code.
*/
*/
ULONG
ldap_modrdn_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
newdn
)
ULONG
CDECL
ldap_modrdn_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
newdn
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
...
dlls/wldap32/option.c
View file @
91e45c62
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
wldap32
);
WINE_DEFAULT_DEBUG_CHANNEL
(
wldap32
);
ULONG
ldap_get_optionA
(
WLDAP32_LDAP
*
ld
,
int
option
,
void
*
value
)
ULONG
CDECL
ldap_get_optionA
(
WLDAP32_LDAP
*
ld
,
int
option
,
void
*
value
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -164,7 +164,7 @@ ULONG ldap_get_optionA( WLDAP32_LDAP *ld, int option, void *value )
...
@@ -164,7 +164,7 @@ ULONG ldap_get_optionA( WLDAP32_LDAP *ld, int option, void *value )
return
ret
;
return
ret
;
}
}
ULONG
ldap_get_optionW
(
WLDAP32_LDAP
*
ld
,
int
option
,
void
*
value
)
ULONG
CDECL
ldap_get_optionW
(
WLDAP32_LDAP
*
ld
,
int
option
,
void
*
value
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -288,7 +288,7 @@ ULONG ldap_get_optionW( WLDAP32_LDAP *ld, int option, void *value )
...
@@ -288,7 +288,7 @@ ULONG ldap_get_optionW( WLDAP32_LDAP *ld, int option, void *value )
return
ret
;
return
ret
;
}
}
ULONG
ldap_set_optionA
(
WLDAP32_LDAP
*
ld
,
int
option
,
void
*
value
)
ULONG
CDECL
ldap_set_optionA
(
WLDAP32_LDAP
*
ld
,
int
option
,
void
*
value
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -363,7 +363,7 @@ ULONG ldap_set_optionA( WLDAP32_LDAP *ld, int option, void *value )
...
@@ -363,7 +363,7 @@ ULONG ldap_set_optionA( WLDAP32_LDAP *ld, int option, void *value )
return
ret
;
return
ret
;
}
}
ULONG
ldap_set_optionW
(
WLDAP32_LDAP
*
ld
,
int
option
,
void
*
value
)
ULONG
CDECL
ldap_set_optionW
(
WLDAP32_LDAP
*
ld
,
int
option
,
void
*
value
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
...
dlls/wldap32/page.c
View file @
91e45c62
...
@@ -50,7 +50,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
...
@@ -50,7 +50,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
*
*
* See ldap_create_page_controlW.
* See ldap_create_page_controlW.
*/
*/
ULONG
ldap_create_page_controlA
(
WLDAP32_LDAP
*
ld
,
ULONG
pagesize
,
ULONG
CDECL
ldap_create_page_controlA
(
WLDAP32_LDAP
*
ld
,
ULONG
pagesize
,
struct
WLDAP32_berval
*
cookie
,
UCHAR
critical
,
PLDAPControlA
*
control
)
struct
WLDAP32_berval
*
cookie
,
UCHAR
critical
,
PLDAPControlA
*
control
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -146,7 +146,7 @@ static ULONG create_page_control( ULONG pagesize, struct WLDAP32_berval *cookie,
...
@@ -146,7 +146,7 @@ static ULONG create_page_control( ULONG pagesize, struct WLDAP32_berval *cookie,
* Success: LDAP_SUCCESS
* Success: LDAP_SUCCESS
* Failure: An LDAP error code.
* Failure: An LDAP error code.
*/
*/
ULONG
ldap_create_page_controlW
(
WLDAP32_LDAP
*
ld
,
ULONG
pagesize
,
ULONG
CDECL
ldap_create_page_controlW
(
WLDAP32_LDAP
*
ld
,
ULONG
pagesize
,
struct
WLDAP32_berval
*
cookie
,
UCHAR
critical
,
PLDAPControlW
*
control
)
struct
WLDAP32_berval
*
cookie
,
UCHAR
critical
,
PLDAPControlW
*
control
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -164,7 +164,7 @@ ULONG ldap_create_page_controlW( WLDAP32_LDAP *ld, ULONG pagesize,
...
@@ -164,7 +164,7 @@ ULONG ldap_create_page_controlW( WLDAP32_LDAP *ld, ULONG pagesize,
return
ret
;
return
ret
;
}
}
ULONG
ldap_get_next_page
(
WLDAP32_LDAP
*
ld
,
PLDAPSearch
search
,
ULONG
pagesize
,
ULONG
CDECL
ldap_get_next_page
(
WLDAP32_LDAP
*
ld
,
PLDAPSearch
search
,
ULONG
pagesize
,
ULONG
*
message
)
ULONG
*
message
)
{
{
FIXME
(
"(%p, %p, 0x%08lx, %p)
\n
"
,
ld
,
search
,
pagesize
,
message
);
FIXME
(
"(%p, %p, 0x%08lx, %p)
\n
"
,
ld
,
search
,
pagesize
,
message
);
...
@@ -173,7 +173,7 @@ ULONG ldap_get_next_page( WLDAP32_LDAP *ld, PLDAPSearch search, ULONG pagesize,
...
@@ -173,7 +173,7 @@ ULONG ldap_get_next_page( WLDAP32_LDAP *ld, PLDAPSearch search, ULONG pagesize,
return
LDAP_NOT_SUPPORTED
;
return
LDAP_NOT_SUPPORTED
;
}
}
ULONG
ldap_get_next_page_s
(
WLDAP32_LDAP
*
ld
,
PLDAPSearch
search
,
ULONG
CDECL
ldap_get_next_page_s
(
WLDAP32_LDAP
*
ld
,
PLDAPSearch
search
,
struct
l_timeval
*
timeout
,
ULONG
pagesize
,
ULONG
*
count
,
struct
l_timeval
*
timeout
,
ULONG
pagesize
,
ULONG
*
count
,
WLDAP32_LDAPMessage
**
results
)
WLDAP32_LDAPMessage
**
results
)
{
{
...
@@ -184,7 +184,7 @@ ULONG ldap_get_next_page_s( WLDAP32_LDAP *ld, PLDAPSearch search,
...
@@ -184,7 +184,7 @@ ULONG ldap_get_next_page_s( WLDAP32_LDAP *ld, PLDAPSearch search,
return
LDAP_NOT_SUPPORTED
;
return
LDAP_NOT_SUPPORTED
;
}
}
ULONG
ldap_get_paged_count
(
WLDAP32_LDAP
*
ld
,
PLDAPSearch
search
,
ULONG
CDECL
ldap_get_paged_count
(
WLDAP32_LDAP
*
ld
,
PLDAPSearch
search
,
ULONG
*
count
,
WLDAP32_LDAPMessage
*
results
)
ULONG
*
count
,
WLDAP32_LDAPMessage
*
results
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -201,7 +201,7 @@ ULONG ldap_get_paged_count( WLDAP32_LDAP *ld, PLDAPSearch search,
...
@@ -201,7 +201,7 @@ ULONG ldap_get_paged_count( WLDAP32_LDAP *ld, PLDAPSearch search,
/***********************************************************************
/***********************************************************************
* ldap_parse_page_controlA (WLDAP32.@)
* ldap_parse_page_controlA (WLDAP32.@)
*/
*/
ULONG
ldap_parse_page_controlA
(
WLDAP32_LDAP
*
ld
,
PLDAPControlA
*
ctrls
,
ULONG
CDECL
ldap_parse_page_controlA
(
WLDAP32_LDAP
*
ld
,
PLDAPControlA
*
ctrls
,
ULONG
*
count
,
struct
WLDAP32_berval
**
cookie
)
ULONG
*
count
,
struct
WLDAP32_berval
**
cookie
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -226,7 +226,7 @@ ULONG ldap_parse_page_controlA( WLDAP32_LDAP *ld, PLDAPControlA *ctrls,
...
@@ -226,7 +226,7 @@ ULONG ldap_parse_page_controlA( WLDAP32_LDAP *ld, PLDAPControlA *ctrls,
/***********************************************************************
/***********************************************************************
* ldap_parse_page_controlW (WLDAP32.@)
* ldap_parse_page_controlW (WLDAP32.@)
*/
*/
ULONG
ldap_parse_page_controlW
(
WLDAP32_LDAP
*
ld
,
PLDAPControlW
*
ctrls
,
ULONG
CDECL
ldap_parse_page_controlW
(
WLDAP32_LDAP
*
ld
,
PLDAPControlW
*
ctrls
,
ULONG
*
count
,
struct
WLDAP32_berval
**
cookie
)
ULONG
*
count
,
struct
WLDAP32_berval
**
cookie
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -266,7 +266,7 @@ ULONG ldap_parse_page_controlW( WLDAP32_LDAP *ld, PLDAPControlW *ctrls,
...
@@ -266,7 +266,7 @@ ULONG ldap_parse_page_controlW( WLDAP32_LDAP *ld, PLDAPControlW *ctrls,
return
ret
;
return
ret
;
}
}
ULONG
ldap_search_abandon_page
(
WLDAP32_LDAP
*
ld
,
PLDAPSearch
search
)
ULONG
CDECL
ldap_search_abandon_page
(
WLDAP32_LDAP
*
ld
,
PLDAPSearch
search
)
{
{
FIXME
(
"(%p, %p)
\n
"
,
ld
,
search
);
FIXME
(
"(%p, %p)
\n
"
,
ld
,
search
);
...
@@ -274,7 +274,7 @@ ULONG ldap_search_abandon_page( WLDAP32_LDAP *ld, PLDAPSearch search )
...
@@ -274,7 +274,7 @@ ULONG ldap_search_abandon_page( WLDAP32_LDAP *ld, PLDAPSearch search )
return
LDAP_SUCCESS
;
return
LDAP_SUCCESS
;
}
}
PLDAPSearch
ldap_search_init_pageA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
ULONG
scope
,
PLDAPSearch
CDECL
ldap_search_init_pageA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
ULONG
scope
,
PCHAR
filter
,
PCHAR
attrs
[],
ULONG
attrsonly
,
PLDAPControlA
*
serverctrls
,
PCHAR
filter
,
PCHAR
attrs
[],
ULONG
attrsonly
,
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
,
ULONG
timelimit
,
ULONG
sizelimit
,
PLDAPSortKeyA
*
sortkeys
)
PLDAPControlA
*
clientctrls
,
ULONG
timelimit
,
ULONG
sizelimit
,
PLDAPSortKeyA
*
sortkeys
)
{
{
...
@@ -283,7 +283,7 @@ PLDAPSearch ldap_search_init_pageA( WLDAP32_LDAP *ld, PCHAR dn, ULONG scope,
...
@@ -283,7 +283,7 @@ PLDAPSearch ldap_search_init_pageA( WLDAP32_LDAP *ld, PCHAR dn, ULONG scope,
return
NULL
;
return
NULL
;
}
}
PLDAPSearch
ldap_search_init_pageW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
ULONG
scope
,
PLDAPSearch
CDECL
ldap_search_init_pageW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
ULONG
scope
,
PWCHAR
filter
,
PWCHAR
attrs
[],
ULONG
attrsonly
,
PLDAPControlW
*
serverctrls
,
PWCHAR
filter
,
PWCHAR
attrs
[],
ULONG
attrsonly
,
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
,
ULONG
timelimit
,
ULONG
sizelimit
,
PLDAPSortKeyW
*
sortkeys
)
PLDAPControlW
*
clientctrls
,
ULONG
timelimit
,
ULONG
sizelimit
,
PLDAPSortKeyW
*
sortkeys
)
{
{
...
...
dlls/wldap32/parse.c
View file @
91e45c62
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
wldap32
);
WINE_DEFAULT_DEBUG_CHANNEL
(
wldap32
);
ULONG
ldap_parse_extended_resultA
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
result
,
ULONG
CDECL
ldap_parse_extended_resultA
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
result
,
PCHAR
*
oid
,
struct
WLDAP32_berval
**
data
,
BOOLEAN
free
)
PCHAR
*
oid
,
struct
WLDAP32_berval
**
data
,
BOOLEAN
free
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -64,7 +64,7 @@ ULONG ldap_parse_extended_resultA( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *result
...
@@ -64,7 +64,7 @@ ULONG ldap_parse_extended_resultA( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *result
return
ret
;
return
ret
;
}
}
ULONG
ldap_parse_extended_resultW
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
result
,
ULONG
CDECL
ldap_parse_extended_resultW
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
result
,
PWCHAR
*
oid
,
struct
WLDAP32_berval
**
data
,
BOOLEAN
free
)
PWCHAR
*
oid
,
struct
WLDAP32_berval
**
data
,
BOOLEAN
free
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -88,7 +88,7 @@ ULONG ldap_parse_extended_resultW( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *result
...
@@ -88,7 +88,7 @@ ULONG ldap_parse_extended_resultW( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *result
return
ret
;
return
ret
;
}
}
ULONG
ldap_parse_referenceA
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
message
,
ULONG
CDECL
ldap_parse_referenceA
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
message
,
PCHAR
**
referrals
)
PCHAR
**
referrals
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -108,7 +108,7 @@ ULONG ldap_parse_referenceA( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *message,
...
@@ -108,7 +108,7 @@ ULONG ldap_parse_referenceA( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *message,
return
ret
;
return
ret
;
}
}
ULONG
ldap_parse_referenceW
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
message
,
ULONG
CDECL
ldap_parse_referenceW
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
message
,
PWCHAR
**
referrals
)
PWCHAR
**
referrals
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -128,7 +128,7 @@ ULONG ldap_parse_referenceW( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *message,
...
@@ -128,7 +128,7 @@ ULONG ldap_parse_referenceW( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *message,
return
ret
;
return
ret
;
}
}
ULONG
ldap_parse_resultA
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
result
,
ULONG
CDECL
ldap_parse_resultA
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
result
,
ULONG
*
retcode
,
PCHAR
*
matched
,
PCHAR
*
error
,
PCHAR
**
referrals
,
ULONG
*
retcode
,
PCHAR
*
matched
,
PCHAR
*
error
,
PCHAR
**
referrals
,
PLDAPControlA
**
serverctrls
,
BOOLEAN
free
)
PLDAPControlA
**
serverctrls
,
BOOLEAN
free
)
{
{
...
@@ -160,7 +160,7 @@ ULONG ldap_parse_resultA( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *result,
...
@@ -160,7 +160,7 @@ ULONG ldap_parse_resultA( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *result,
return
ret
;
return
ret
;
}
}
ULONG
ldap_parse_resultW
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
result
,
ULONG
CDECL
ldap_parse_resultW
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
result
,
ULONG
*
retcode
,
PWCHAR
*
matched
,
PWCHAR
*
error
,
PWCHAR
**
referrals
,
ULONG
*
retcode
,
PWCHAR
*
matched
,
PWCHAR
*
error
,
PWCHAR
**
referrals
,
PLDAPControlW
**
serverctrls
,
BOOLEAN
free
)
PLDAPControlW
**
serverctrls
,
BOOLEAN
free
)
{
{
...
@@ -192,7 +192,7 @@ ULONG ldap_parse_resultW( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *result,
...
@@ -192,7 +192,7 @@ ULONG ldap_parse_resultW( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *result,
return
ret
;
return
ret
;
}
}
ULONG
ldap_parse_sort_controlA
(
WLDAP32_LDAP
*
ld
,
PLDAPControlA
*
control
,
ULONG
CDECL
ldap_parse_sort_controlA
(
WLDAP32_LDAP
*
ld
,
PLDAPControlA
*
control
,
ULONG
*
result
,
PCHAR
*
attr
)
ULONG
*
result
,
PCHAR
*
attr
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -218,7 +218,7 @@ ULONG ldap_parse_sort_controlA( WLDAP32_LDAP *ld, PLDAPControlA *control,
...
@@ -218,7 +218,7 @@ ULONG ldap_parse_sort_controlA( WLDAP32_LDAP *ld, PLDAPControlA *control,
return
ret
;
return
ret
;
}
}
ULONG
ldap_parse_sort_controlW
(
WLDAP32_LDAP
*
ld
,
PLDAPControlW
*
control
,
ULONG
CDECL
ldap_parse_sort_controlW
(
WLDAP32_LDAP
*
ld
,
PLDAPControlW
*
control
,
ULONG
*
result
,
PWCHAR
*
attr
)
ULONG
*
result
,
PWCHAR
*
attr
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -244,7 +244,7 @@ ULONG ldap_parse_sort_controlW( WLDAP32_LDAP *ld, PLDAPControlW *control,
...
@@ -244,7 +244,7 @@ ULONG ldap_parse_sort_controlW( WLDAP32_LDAP *ld, PLDAPControlW *control,
return
ret
;
return
ret
;
}
}
INT
ldap_parse_vlv_controlA
(
WLDAP32_LDAP
*
ld
,
PLDAPControlA
*
control
,
INT
CDECL
ldap_parse_vlv_controlA
(
WLDAP32_LDAP
*
ld
,
PLDAPControlA
*
control
,
PULONG
targetpos
,
PULONG
listcount
,
PULONG
targetpos
,
PULONG
listcount
,
struct
WLDAP32_berval
**
context
,
PINT
errcode
)
struct
WLDAP32_berval
**
context
,
PINT
errcode
)
{
{
...
@@ -271,7 +271,7 @@ INT ldap_parse_vlv_controlA( WLDAP32_LDAP *ld, PLDAPControlA *control,
...
@@ -271,7 +271,7 @@ INT ldap_parse_vlv_controlA( WLDAP32_LDAP *ld, PLDAPControlA *control,
return
ret
;
return
ret
;
}
}
INT
ldap_parse_vlv_controlW
(
WLDAP32_LDAP
*
ld
,
PLDAPControlW
*
control
,
INT
CDECL
ldap_parse_vlv_controlW
(
WLDAP32_LDAP
*
ld
,
PLDAPControlW
*
control
,
PULONG
targetpos
,
PULONG
listcount
,
PULONG
targetpos
,
PULONG
listcount
,
struct
WLDAP32_berval
**
context
,
PINT
errcode
)
struct
WLDAP32_berval
**
context
,
PINT
errcode
)
{
{
...
...
dlls/wldap32/rename.c
View file @
91e45c62
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
wldap32
);
WINE_DEFAULT_DEBUG_CHANNEL
(
wldap32
);
ULONG
ldap_rename_extA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
newrdn
,
ULONG
CDECL
ldap_rename_extA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
newrdn
,
PCHAR
newparent
,
INT
delete
,
PLDAPControlA
*
serverctrls
,
PCHAR
newparent
,
INT
delete
,
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
,
ULONG
*
message
)
PLDAPControlA
*
clientctrls
,
ULONG
*
message
)
{
{
...
@@ -92,7 +92,7 @@ exit:
...
@@ -92,7 +92,7 @@ exit:
return
ret
;
return
ret
;
}
}
ULONG
ldap_rename_extW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
newrdn
,
ULONG
CDECL
ldap_rename_extW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
newrdn
,
PWCHAR
newparent
,
INT
delete
,
PLDAPControlW
*
serverctrls
,
PWCHAR
newparent
,
INT
delete
,
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
,
ULONG
*
message
)
PLDAPControlW
*
clientctrls
,
ULONG
*
message
)
{
{
...
@@ -144,7 +144,7 @@ exit:
...
@@ -144,7 +144,7 @@ exit:
return
ret
;
return
ret
;
}
}
ULONG
ldap_rename_ext_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
newrdn
,
ULONG
CDECL
ldap_rename_ext_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
newrdn
,
PCHAR
newparent
,
INT
delete
,
PLDAPControlA
*
serverctrls
,
PCHAR
newparent
,
INT
delete
,
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
)
PLDAPControlA
*
clientctrls
)
{
{
...
@@ -196,7 +196,7 @@ exit:
...
@@ -196,7 +196,7 @@ exit:
return
ret
;
return
ret
;
}
}
ULONG
ldap_rename_ext_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
newrdn
,
ULONG
CDECL
ldap_rename_ext_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
newrdn
,
PWCHAR
newparent
,
INT
delete
,
PLDAPControlW
*
serverctrls
,
PWCHAR
newparent
,
INT
delete
,
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
)
PLDAPControlW
*
clientctrls
)
{
{
...
...
dlls/wldap32/search.c
View file @
91e45c62
...
@@ -46,7 +46,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
...
@@ -46,7 +46,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
*
*
* See ldap_searchW.
* See ldap_searchW.
*/
*/
ULONG
ldap_searchA
(
WLDAP32_LDAP
*
ld
,
PCHAR
base
,
ULONG
scope
,
PCHAR
filter
,
ULONG
CDECL
ldap_searchA
(
WLDAP32_LDAP
*
ld
,
PCHAR
base
,
ULONG
scope
,
PCHAR
filter
,
PCHAR
attrs
[],
ULONG
attrsonly
)
PCHAR
attrs
[],
ULONG
attrsonly
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -107,7 +107,7 @@ exit:
...
@@ -107,7 +107,7 @@ exit:
* the operation. Cancel the operation by calling ldap_abandon
* the operation. Cancel the operation by calling ldap_abandon
* with the message ID.
* with the message ID.
*/
*/
ULONG
ldap_searchW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
base
,
ULONG
scope
,
PWCHAR
filter
,
ULONG
CDECL
ldap_searchW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
base
,
ULONG
scope
,
PWCHAR
filter
,
PWCHAR
attrs
[],
ULONG
attrsonly
)
PWCHAR
attrs
[],
ULONG
attrsonly
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -157,7 +157,7 @@ exit:
...
@@ -157,7 +157,7 @@ exit:
*
*
* See ldap_search_extW.
* See ldap_search_extW.
*/
*/
ULONG
ldap_search_extA
(
WLDAP32_LDAP
*
ld
,
PCHAR
base
,
ULONG
scope
,
ULONG
CDECL
ldap_search_extA
(
WLDAP32_LDAP
*
ld
,
PCHAR
base
,
ULONG
scope
,
PCHAR
filter
,
PCHAR
attrs
[],
ULONG
attrsonly
,
PLDAPControlA
*
serverctrls
,
PCHAR
filter
,
PCHAR
attrs
[],
ULONG
attrsonly
,
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
,
ULONG
timelimit
,
ULONG
sizelimit
,
ULONG
*
message
)
PLDAPControlA
*
clientctrls
,
ULONG
timelimit
,
ULONG
sizelimit
,
ULONG
*
message
)
{
{
...
@@ -238,7 +238,7 @@ exit:
...
@@ -238,7 +238,7 @@ exit:
* the operation. Cancel the operation by calling ldap_abandon
* the operation. Cancel the operation by calling ldap_abandon
* with the message ID.
* with the message ID.
*/
*/
ULONG
ldap_search_extW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
base
,
ULONG
scope
,
ULONG
CDECL
ldap_search_extW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
base
,
ULONG
scope
,
PWCHAR
filter
,
PWCHAR
attrs
[],
ULONG
attrsonly
,
PLDAPControlW
*
serverctrls
,
PWCHAR
filter
,
PWCHAR
attrs
[],
ULONG
attrsonly
,
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
,
ULONG
timelimit
,
ULONG
sizelimit
,
ULONG
*
message
)
PLDAPControlW
*
clientctrls
,
ULONG
timelimit
,
ULONG
sizelimit
,
ULONG
*
message
)
{
{
...
@@ -299,7 +299,7 @@ exit:
...
@@ -299,7 +299,7 @@ exit:
*
*
* See ldap_search_ext_sW.
* See ldap_search_ext_sW.
*/
*/
ULONG
ldap_search_ext_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
base
,
ULONG
scope
,
ULONG
CDECL
ldap_search_ext_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
base
,
ULONG
scope
,
PCHAR
filter
,
PCHAR
attrs
[],
ULONG
attrsonly
,
PLDAPControlA
*
serverctrls
,
PCHAR
filter
,
PCHAR
attrs
[],
ULONG
attrsonly
,
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
,
struct
l_timeval
*
timeout
,
ULONG
sizelimit
,
WLDAP32_LDAPMessage
**
res
)
PLDAPControlA
*
clientctrls
,
struct
l_timeval
*
timeout
,
ULONG
sizelimit
,
WLDAP32_LDAPMessage
**
res
)
{
{
...
@@ -377,7 +377,7 @@ exit:
...
@@ -377,7 +377,7 @@ exit:
* NOTES
* NOTES
* Call ldap_msgfree to free the results.
* Call ldap_msgfree to free the results.
*/
*/
ULONG
ldap_search_ext_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
base
,
ULONG
scope
,
ULONG
CDECL
ldap_search_ext_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
base
,
ULONG
scope
,
PWCHAR
filter
,
PWCHAR
attrs
[],
ULONG
attrsonly
,
PLDAPControlW
*
serverctrls
,
PWCHAR
filter
,
PWCHAR
attrs
[],
ULONG
attrsonly
,
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
,
struct
l_timeval
*
timeout
,
ULONG
sizelimit
,
WLDAP32_LDAPMessage
**
res
)
PLDAPControlW
*
clientctrls
,
struct
l_timeval
*
timeout
,
ULONG
sizelimit
,
WLDAP32_LDAPMessage
**
res
)
{
{
...
@@ -434,7 +434,7 @@ exit:
...
@@ -434,7 +434,7 @@ exit:
*
*
* See ldap_search_sW.
* See ldap_search_sW.
*/
*/
ULONG
ldap_search_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
base
,
ULONG
scope
,
PCHAR
filter
,
ULONG
CDECL
ldap_search_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
base
,
ULONG
scope
,
PCHAR
filter
,
PCHAR
attrs
[],
ULONG
attrsonly
,
WLDAP32_LDAPMessage
**
res
)
PCHAR
attrs
[],
ULONG
attrsonly
,
WLDAP32_LDAPMessage
**
res
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -494,7 +494,7 @@ exit:
...
@@ -494,7 +494,7 @@ exit:
* NOTES
* NOTES
* Call ldap_msgfree to free the results.
* Call ldap_msgfree to free the results.
*/
*/
ULONG
ldap_search_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
base
,
ULONG
scope
,
PWCHAR
filter
,
ULONG
CDECL
ldap_search_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
base
,
ULONG
scope
,
PWCHAR
filter
,
PWCHAR
attrs
[],
ULONG
attrsonly
,
WLDAP32_LDAPMessage
**
res
)
PWCHAR
attrs
[],
ULONG
attrsonly
,
WLDAP32_LDAPMessage
**
res
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -538,7 +538,7 @@ exit:
...
@@ -538,7 +538,7 @@ exit:
*
*
* See ldap_search_stW.
* See ldap_search_stW.
*/
*/
ULONG
ldap_search_stA
(
WLDAP32_LDAP
*
ld
,
const
PCHAR
base
,
ULONG
scope
,
ULONG
CDECL
ldap_search_stA
(
WLDAP32_LDAP
*
ld
,
const
PCHAR
base
,
ULONG
scope
,
const
PCHAR
filter
,
PCHAR
attrs
[],
ULONG
attrsonly
,
const
PCHAR
filter
,
PCHAR
attrs
[],
ULONG
attrsonly
,
struct
l_timeval
*
timeout
,
WLDAP32_LDAPMessage
**
res
)
struct
l_timeval
*
timeout
,
WLDAP32_LDAPMessage
**
res
)
{
{
...
@@ -602,7 +602,7 @@ exit:
...
@@ -602,7 +602,7 @@ exit:
* NOTES
* NOTES
* Call ldap_msgfree to free the results.
* Call ldap_msgfree to free the results.
*/
*/
ULONG
ldap_search_stW
(
WLDAP32_LDAP
*
ld
,
const
PWCHAR
base
,
ULONG
scope
,
ULONG
CDECL
ldap_search_stW
(
WLDAP32_LDAP
*
ld
,
const
PWCHAR
base
,
ULONG
scope
,
const
PWCHAR
filter
,
PWCHAR
attrs
[],
ULONG
attrsonly
,
const
PWCHAR
filter
,
PWCHAR
attrs
[],
ULONG
attrsonly
,
struct
l_timeval
*
timeout
,
WLDAP32_LDAPMessage
**
res
)
struct
l_timeval
*
timeout
,
WLDAP32_LDAPMessage
**
res
)
{
{
...
...
dlls/wldap32/value.c
View file @
91e45c62
...
@@ -57,7 +57,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
...
@@ -57,7 +57,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
* Call ldap_count_values_len with the result of a call to
* Call ldap_count_values_len with the result of a call to
* ldap_get_values_len.
* ldap_get_values_len.
*/
*/
ULONG
WLDAP32_ldap_count_values_len
(
struct
WLDAP32_berval
**
vals
)
ULONG
CDECL
WLDAP32_ldap_count_values_len
(
struct
WLDAP32_berval
**
vals
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -74,7 +74,7 @@ ULONG WLDAP32_ldap_count_values_len( struct WLDAP32_berval **vals )
...
@@ -74,7 +74,7 @@ ULONG WLDAP32_ldap_count_values_len( struct WLDAP32_berval **vals )
*
*
* See ldap_count_valuesW.
* See ldap_count_valuesW.
*/
*/
ULONG
ldap_count_valuesA
(
PCHAR
*
vals
)
ULONG
CDECL
ldap_count_valuesA
(
PCHAR
*
vals
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -110,7 +110,7 @@ ULONG ldap_count_valuesA( PCHAR *vals )
...
@@ -110,7 +110,7 @@ ULONG ldap_count_valuesA( PCHAR *vals )
* Call ldap_count_valuesW with the result of a call to
* Call ldap_count_valuesW with the result of a call to
* ldap_get_valuesW.
* ldap_get_valuesW.
*/
*/
ULONG
ldap_count_valuesW
(
PWCHAR
*
vals
)
ULONG
CDECL
ldap_count_valuesW
(
PWCHAR
*
vals
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -132,7 +132,7 @@ ULONG ldap_count_valuesW( PWCHAR *vals )
...
@@ -132,7 +132,7 @@ ULONG ldap_count_valuesW( PWCHAR *vals )
*
*
* See ldap_get_valuesW.
* See ldap_get_valuesW.
*/
*/
PCHAR
*
ldap_get_valuesA
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
entry
,
PCHAR
attr
)
PCHAR
*
CDECL
ldap_get_valuesA
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
entry
,
PCHAR
attr
)
{
{
PCHAR
*
ret
=
NULL
;
PCHAR
*
ret
=
NULL
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -223,7 +223,7 @@ static char **bv2str_array( struct berval **bv )
...
@@ -223,7 +223,7 @@ static char **bv2str_array( struct berval **bv )
* ldap_first_entry or ldap_next_entry. Free the returned
* ldap_first_entry or ldap_next_entry. Free the returned
* array with a call to ldap_value_freeW.
* array with a call to ldap_value_freeW.
*/
*/
PWCHAR
*
ldap_get_valuesW
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
entry
,
PWCHAR
attr
)
PWCHAR
*
CDECL
ldap_get_valuesW
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
entry
,
PWCHAR
attr
)
{
{
PWCHAR
*
ret
=
NULL
;
PWCHAR
*
ret
=
NULL
;
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -255,7 +255,7 @@ PWCHAR *ldap_get_valuesW( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *entry, PWCHAR a
...
@@ -255,7 +255,7 @@ PWCHAR *ldap_get_valuesW( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *entry, PWCHAR a
*
*
* See ldap_get_values_lenW.
* See ldap_get_values_lenW.
*/
*/
struct
WLDAP32_berval
**
ldap_get_values_lenA
(
WLDAP32_LDAP
*
ld
,
struct
WLDAP32_berval
**
CDECL
ldap_get_values_lenA
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
message
,
PCHAR
attr
)
WLDAP32_LDAPMessage
*
message
,
PCHAR
attr
)
{
{
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -297,7 +297,7 @@ struct WLDAP32_berval **ldap_get_values_lenA( WLDAP32_LDAP *ld,
...
@@ -297,7 +297,7 @@ struct WLDAP32_berval **ldap_get_values_lenA( WLDAP32_LDAP *ld,
* ldap_first_entry or ldap_next_entry. Free the returned
* ldap_first_entry or ldap_next_entry. Free the returned
* array with a call to ldap_value_free_len.
* array with a call to ldap_value_free_len.
*/
*/
struct
WLDAP32_berval
**
ldap_get_values_lenW
(
WLDAP32_LDAP
*
ld
,
struct
WLDAP32_berval
**
CDECL
ldap_get_values_lenW
(
WLDAP32_LDAP
*
ld
,
WLDAP32_LDAPMessage
*
message
,
PWCHAR
attr
)
WLDAP32_LDAPMessage
*
message
,
PWCHAR
attr
)
{
{
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -332,7 +332,7 @@ struct WLDAP32_berval **ldap_get_values_lenW( WLDAP32_LDAP *ld,
...
@@ -332,7 +332,7 @@ struct WLDAP32_berval **ldap_get_values_lenW( WLDAP32_LDAP *ld,
* Success: LDAP_SUCCESS
* Success: LDAP_SUCCESS
* Failure: An LDAP error code.
* Failure: An LDAP error code.
*/
*/
ULONG
WLDAP32_ldap_value_free_len
(
struct
WLDAP32_berval
**
vals
)
ULONG
CDECL
WLDAP32_ldap_value_free_len
(
struct
WLDAP32_berval
**
vals
)
{
{
#ifdef HAVE_LDAP
#ifdef HAVE_LDAP
...
@@ -348,7 +348,7 @@ ULONG WLDAP32_ldap_value_free_len( struct WLDAP32_berval **vals )
...
@@ -348,7 +348,7 @@ ULONG WLDAP32_ldap_value_free_len( struct WLDAP32_berval **vals )
*
*
* See ldap_value_freeW.
* See ldap_value_freeW.
*/
*/
ULONG
ldap_value_freeA
(
PCHAR
*
vals
)
ULONG
CDECL
ldap_value_freeA
(
PCHAR
*
vals
)
{
{
TRACE
(
"(%p)
\n
"
,
vals
);
TRACE
(
"(%p)
\n
"
,
vals
);
...
@@ -368,7 +368,7 @@ ULONG ldap_value_freeA( PCHAR *vals )
...
@@ -368,7 +368,7 @@ ULONG ldap_value_freeA( PCHAR *vals )
* Success: LDAP_SUCCESS
* Success: LDAP_SUCCESS
* Failure: An LDAP error code.
* Failure: An LDAP error code.
*/
*/
ULONG
ldap_value_freeW
(
PWCHAR
*
vals
)
ULONG
CDECL
ldap_value_freeW
(
PWCHAR
*
vals
)
{
{
TRACE
(
"(%p)
\n
"
,
vals
);
TRACE
(
"(%p)
\n
"
,
vals
);
...
...
include/winldap.h
View file @
91e45c62
This diff is collapsed.
Click to expand it.
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