Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f43fd5ec
Commit
f43fd5ec
authored
Apr 21, 2006
by
Hans Leidekker
Committed by
Alexandre Julliard
May 05, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wldap32: Document the search functions.
parent
9e61d70a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
147 additions
and
0 deletions
+147
-0
search.c
dlls/wldap32/search.c
+147
-0
No files found.
dlls/wldap32/search.c
View file @
f43fd5ec
...
...
@@ -41,6 +41,11 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
wldap32
);
/***********************************************************************
* ldap_searchA (WLDAP32.@)
*
* See ldap_searchW.
*/
ULONG
ldap_searchA
(
WLDAP32_LDAP
*
ld
,
PCHAR
base
,
ULONG
scope
,
PCHAR
filter
,
PCHAR
attrs
[],
ULONG
attrsonly
)
{
...
...
@@ -79,6 +84,29 @@ exit:
return
ret
;
}
/***********************************************************************
* ldap_searchW (WLDAP32.@)
*
* Search a directory tree (asynchronous operation).
*
* PARAMS
* ld [I] Pointer to an LDAP context.
* base [I] Starting point for the search.
* scope [I] Search scope. One of LDAP_SCOPE_BASE,
* LDAP_SCOPE_ONELEVEL and LDAP_SCOPE_SUBTREE.
* filter [I] Search filter.
* attrs [I] Attributes to return.
* attrsonly [I] Return no values, only attributes.
*
* RETURNS
* Success: Message ID of the search operation.
* Failure: ~0UL
*
* NOTES
* Call ldap_result with the message ID to get the result of
* the operation. Cancel the operation by calling ldap_abandon
* with the message ID.
*/
ULONG
ldap_searchW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
base
,
ULONG
scope
,
PWCHAR
filter
,
PWCHAR
attrs
[],
ULONG
attrsonly
)
{
...
...
@@ -124,6 +152,11 @@ exit:
return
ret
;
}
/***********************************************************************
* ldap_search_extA (WLDAP32.@)
*
* See ldap_search_extW.
*/
ULONG
ldap_search_extA
(
WLDAP32_LDAP
*
ld
,
PCHAR
base
,
ULONG
scope
,
PCHAR
filter
,
PCHAR
attrs
[],
ULONG
attrsonly
,
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
,
ULONG
timelimit
,
ULONG
sizelimit
,
ULONG
*
message
)
...
...
@@ -177,6 +210,34 @@ exit:
return
ret
;
}
/***********************************************************************
* ldap_search_extW (WLDAP32.@)
*
* Search a directory tree (asynchronous operation).
*
* PARAMS
* ld [I] Pointer to an LDAP context.
* base [I] Starting point for the search.
* scope [I] Search scope. One of LDAP_SCOPE_BASE,
* LDAP_SCOPE_ONELEVEL and LDAP_SCOPE_SUBTREE.
* filter [I] Search filter.
* attrs [I] Attributes to return.
* attrsonly [I] Return no values, only attributes.
* serverctrls [I] Array of LDAP server controls.
* clientctrls [I] Array of LDAP client controls.
* timelimit [I] Timeout in seconds.
* sizelimit [I] Maximum number of entries to return. Zero means unlimited.
* message [O] Message ID of the search operation.
*
* RETURNS
* Success: LDAP_SUCCESS
* Failure: An LDAP error code.
*
* NOTES
* Call ldap_result with the message ID to get the result of
* the operation. Cancel the operation by calling ldap_abandon
* with the message ID.
*/
ULONG
ldap_search_extW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
base
,
ULONG
scope
,
PWCHAR
filter
,
PWCHAR
attrs
[],
ULONG
attrsonly
,
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
,
ULONG
timelimit
,
ULONG
sizelimit
,
ULONG
*
message
)
...
...
@@ -233,6 +294,11 @@ exit:
return
ret
;
}
/***********************************************************************
* ldap_search_ext_sA (WLDAP32.@)
*
* See ldap_search_ext_sW.
*/
ULONG
ldap_search_ext_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
base
,
ULONG
scope
,
PCHAR
filter
,
PCHAR
attrs
[],
ULONG
attrsonly
,
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
,
struct
l_timeval
*
timeout
,
ULONG
sizelimit
,
WLDAP32_LDAPMessage
**
res
)
...
...
@@ -285,6 +351,32 @@ exit:
return
ret
;
}
/***********************************************************************
* ldap_search_ext_sW (WLDAP32.@)
*
* Search a directory tree (synchronous operation).
*
* PARAMS
* ld [I] Pointer to an LDAP context.
* base [I] Starting point for the search.
* scope [I] Search scope. One of LDAP_SCOPE_BASE,
* LDAP_SCOPE_ONELEVEL and LDAP_SCOPE_SUBTREE.
* filter [I] Search filter.
* attrs [I] Attributes to return.
* attrsonly [I] Return no values, only attributes.
* serverctrls [I] Array of LDAP server controls.
* clientctrls [I] Array of LDAP client controls.
* timeout [I] Timeout in seconds.
* sizelimit [I] Maximum number of entries to return. Zero means unlimited.
* res [O] Results of the search operation.
*
* RETURNS
* Success: LDAP_SUCCESS
* Failure: An LDAP error code.
*
* NOTES
* Call ldap_msgfree to free the results.
*/
ULONG
ldap_search_ext_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
base
,
ULONG
scope
,
PWCHAR
filter
,
PWCHAR
attrs
[],
ULONG
attrsonly
,
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
,
struct
l_timeval
*
timeout
,
ULONG
sizelimit
,
WLDAP32_LDAPMessage
**
res
)
...
...
@@ -337,6 +429,11 @@ exit:
return
ret
;
}
/***********************************************************************
* ldap_search_sA (WLDAP32.@)
*
* See ldap_search_sW.
*/
ULONG
ldap_search_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
base
,
ULONG
scope
,
PCHAR
filter
,
PCHAR
attrs
[],
ULONG
attrsonly
,
WLDAP32_LDAPMessage
**
res
)
{
...
...
@@ -375,6 +472,28 @@ exit:
return
ret
;
}
/***********************************************************************
* ldap_search_sW (WLDAP32.@)
*
* Search a directory tree (synchronous operation).
*
* PARAMS
* ld [I] Pointer to an LDAP context.
* base [I] Starting point for the search.
* scope [I] Search scope. One of LDAP_SCOPE_BASE,
* LDAP_SCOPE_ONELEVEL and LDAP_SCOPE_SUBTREE.
* filter [I] Search filter.
* attrs [I] Attributes to return.
* attrsonly [I] Return no values, only attributes.
* res [O] Results of the search operation.
*
* RETURNS
* Success: LDAP_SUCCESS
* Failure: An LDAP error code.
*
* NOTES
* Call ldap_msgfree to free the results.
*/
ULONG
ldap_search_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
base
,
ULONG
scope
,
PWCHAR
filter
,
PWCHAR
attrs
[],
ULONG
attrsonly
,
WLDAP32_LDAPMessage
**
res
)
{
...
...
@@ -414,6 +533,11 @@ exit:
return
ret
;
}
/***********************************************************************
* ldap_search_stA (WLDAP32.@)
*
* See ldap_search_stW.
*/
ULONG
ldap_search_stA
(
WLDAP32_LDAP
*
ld
,
const
PCHAR
base
,
ULONG
scope
,
const
PCHAR
filter
,
PCHAR
attrs
[],
ULONG
attrsonly
,
struct
l_timeval
*
timeout
,
WLDAP32_LDAPMessage
**
res
)
...
...
@@ -455,6 +579,29 @@ exit:
return
ret
;
}
/***********************************************************************
* ldap_search_stW (WLDAP32.@)
*
* Search a directory tree (synchronous operation).
*
* PARAMS
* ld [I] Pointer to an LDAP context.
* base [I] Starting point for the search.
* scope [I] Search scope. One of LDAP_SCOPE_BASE,
* LDAP_SCOPE_ONELEVEL and LDAP_SCOPE_SUBTREE.
* filter [I] Search filter.
* attrs [I] Attributes to return.
* attrsonly [I] Return no values, only attributes.
* timeout [I] Timeout in seconds.
* res [O] Results of the search operation.
*
* RETURNS
* Success: LDAP_SUCCESS
* Failure: An LDAP error code.
*
* NOTES
* Call ldap_msgfree to free the results.
*/
ULONG
ldap_search_stW
(
WLDAP32_LDAP
*
ld
,
const
PWCHAR
base
,
ULONG
scope
,
const
PWCHAR
filter
,
PWCHAR
attrs
[],
ULONG
attrsonly
,
struct
l_timeval
*
timeout
,
WLDAP32_LDAPMessage
**
res
)
...
...
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