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
c0364ef5
Commit
c0364ef5
authored
May 16, 2006
by
Hans Leidekker
Committed by
Alexandre Julliard
May 16, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wldap32: Document the modify and modrdn functions.
parent
ac73b30f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
187 additions
and
0 deletions
+187
-0
modify.c
dlls/wldap32/modify.c
+99
-0
modrdn.c
dlls/wldap32/modrdn.c
+88
-0
No files found.
dlls/wldap32/modify.c
View file @
c0364ef5
...
...
@@ -41,6 +41,11 @@ static LDAPMod *nullmods[] = { NULL };
WINE_DEFAULT_DEBUG_CHANNEL
(
wldap32
);
/***********************************************************************
* ldap_modifyA (WLDAP32.@)
*
* See ldap_modifyW.
*/
ULONG
ldap_modifyA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
mods
[]
)
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
...
@@ -73,6 +78,26 @@ exit:
return
ret
;
}
/***********************************************************************
* ldap_modifyW (WLDAP32.@)
*
* Change an entry in a directory tree (asynchronous operation).
*
* PARAMS
* ld [I] Pointer to an LDAP context.
* dn [I] DN of the entry to change.
* mods [I] Pointer to an array of LDAPModW structures, each
* specifying an attribute and its values to change.
*
* RETURNS
* Success: Message ID of the modify operation.
* 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_modifyW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
mods
[]
)
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
...
@@ -112,6 +137,11 @@ exit:
return
ret
;
}
/***********************************************************************
* ldap_modify_extA (WLDAP32.@)
*
* See ldap_modify_extW.
*/
ULONG
ldap_modify_extA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
mods
[],
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
,
ULONG
*
message
)
{
...
...
@@ -157,6 +187,29 @@ exit:
return
ret
;
}
/***********************************************************************
* ldap_modify_extW (WLDAP32.@)
*
* Change an entry in a directory tree (asynchronous operation).
*
* PARAMS
* ld [I] Pointer to an LDAP context.
* dn [I] DN of the entry to change.
* mods [I] Pointer to an array of LDAPModW structures, each
* specifying an attribute and its values to change.
* serverctrls [I] Array of LDAP server controls.
* clientctrls [I] Array of LDAP client controls.
* message [O] Message ID of the modify 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. The serverctrls and clientctrls parameters are
* optional and should be set to NULL if not used.
*/
ULONG
ldap_modify_extW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
mods
[],
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
,
ULONG
*
message
)
{
...
...
@@ -204,6 +257,11 @@ exit:
return
ret
;
}
/***********************************************************************
* ldap_modify_ext_sA (WLDAP32.@)
*
* See ldap_modify_ext_sW.
*/
ULONG
ldap_modify_ext_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
mods
[],
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
)
{
...
...
@@ -249,6 +307,27 @@ exit:
return
ret
;
}
/***********************************************************************
* ldap_modify_ext_sW (WLDAP32.@)
*
* Change an entry in a directory tree (synchronous operation).
*
* PARAMS
* ld [I] Pointer to an LDAP context.
* dn [I] DN of the entry to change.
* mods [I] Pointer to an array of LDAPModW structures, each
* specifying an attribute and its values to change.
* serverctrls [I] Array of LDAP server controls.
* clientctrls [I] Array of LDAP client controls.
*
* RETURNS
* Success: LDAP_SUCCESS
* Failure: An LDAP error code.
*
* NOTES
* The serverctrls and clientctrls parameters are optional and
* should be set to NULL if not used.
*/
ULONG
ldap_modify_ext_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
mods
[],
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
)
{
...
...
@@ -295,6 +374,11 @@ exit:
return
ret
;
}
/***********************************************************************
* ldap_modify_sA (WLDAP32.@)
*
* See ldap_modify_sW.
*/
ULONG
ldap_modify_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
mods
[]
)
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
...
@@ -327,6 +411,21 @@ exit:
return
ret
;
}
/***********************************************************************
* ldap_modify_sW (WLDAP32.@)
*
* Change an entry in a directory tree (synchronous operation).
*
* PARAMS
* ld [I] Pointer to an LDAP context.
* dn [I] DN of the entry to change.
* attrs [I] Pointer to an array of LDAPModW structures, each
* specifying an attribute and its values to change.
*
* RETURNS
* Success: LDAP_SUCCESS
* Failure: An LDAP error code.
*/
ULONG
ldap_modify_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
mods
[]
)
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
...
dlls/wldap32/modrdn.c
View file @
c0364ef5
...
...
@@ -40,6 +40,11 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
wldap32
);
/***********************************************************************
* ldap_modrdnA (WLDAP32.@)
*
* See ldap_modrdnW.
*/
ULONG
ldap_modrdnA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
newdn
)
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
...
@@ -70,6 +75,25 @@ exit:
return
ret
;
}
/***********************************************************************
* ldap_modrdnW (WLDAP32.@)
*
* Change the RDN of a directory entry (asynchronous operation).
*
* PARAMS
* ld [I] Pointer to an LDAP context.
* dn [I] DN of the entry to change.
* newdn [I] New DN for the entry.
*
* RETURNS
* Success: Message ID of the modrdn operation.
* 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_modrdnW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
newdn
)
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
...
@@ -106,6 +130,11 @@ exit:
return
ret
;
}
/***********************************************************************
* ldap_modrdn2A (WLDAP32.@)
*
* See ldap_modrdn2W.
*/
ULONG
ldap_modrdn2A
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
newdn
,
INT
delete
)
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
...
@@ -136,6 +165,26 @@ exit:
return
ret
;
}
/***********************************************************************
* ldap_modrdn2W (WLDAP32.@)
*
* Change the RDN of a directory entry (asynchronous operation).
*
* PARAMS
* ld [I] Pointer to an LDAP context.
* dn [I] DN of the entry to change.
* newdn [I] New DN for the entry.
* delete [I] Delete old DN?
*
* RETURNS
* Success: Message ID of the modrdn operation.
* 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_modrdn2W
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
newdn
,
INT
delete
)
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
...
@@ -172,6 +221,11 @@ exit:
return
ret
;
}
/***********************************************************************
* ldap_modrdn2_sA (WLDAP32.@)
*
* See ldap_modrdn2_sW.
*/
ULONG
ldap_modrdn2_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
newdn
,
INT
delete
)
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
...
@@ -202,6 +256,21 @@ exit:
return
ret
;
}
/***********************************************************************
* ldap_modrdn2_sW (WLDAP32.@)
*
* Change the RDN of a directory entry (synchronous operation).
*
* PARAMS
* ld [I] Pointer to an LDAP context.
* dn [I] DN of the entry to change.
* newdn [I] New DN for the entry.
* delete [I] Delete old DN?
*
* RETURNS
* Success: LDAP_SUCCESS
* Failure: An LDAP error code.
*/
ULONG
ldap_modrdn2_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
newdn
,
INT
delete
)
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
...
@@ -232,6 +301,11 @@ exit:
return
ret
;
}
/***********************************************************************
* ldap_modrdn_sA (WLDAP32.@)
*
* See ldap_modrdn_sW.
*/
ULONG
ldap_modrdn_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
PCHAR
newdn
)
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
...
@@ -262,6 +336,20 @@ exit:
return
ret
;
}
/***********************************************************************
* ldap_modrdn_sW (WLDAP32.@)
*
* Change the RDN of a directory entry (synchronous operation).
*
* PARAMS
* ld [I] Pointer to an LDAP context.
* dn [I] DN of the entry to change.
* newdn [I] New DN for the entry.
*
* RETURNS
* Success: LDAP_SUCCESS
* Failure: An LDAP error code.
*/
ULONG
ldap_modrdn_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
PWCHAR
newdn
)
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
...
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