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
02b9135d
Commit
02b9135d
authored
Nov 28, 2005
by
Hans Leidekker
Committed by
Alexandre Julliard
Nov 28, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document the ldap_add* functions.
parent
1ee8dd89
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
98 additions
and
0 deletions
+98
-0
add.c
dlls/wldap32/add.c
+98
-0
No files found.
dlls/wldap32/add.c
View file @
02b9135d
...
@@ -41,6 +41,11 @@ static LDAPMod *nullattrs[] = { NULL };
...
@@ -41,6 +41,11 @@ static LDAPMod *nullattrs[] = { NULL };
WINE_DEFAULT_DEBUG_CHANNEL
(
wldap32
);
WINE_DEFAULT_DEBUG_CHANNEL
(
wldap32
);
/***********************************************************************
* ldap_addA (WLDAP32.@)
*
* See ldap_addW.
*/
ULONG
ldap_addA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
attrs
[]
)
ULONG
ldap_addA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
attrs
[]
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -73,6 +78,25 @@ exit:
...
@@ -73,6 +78,25 @@ exit:
return
ret
;
return
ret
;
}
}
/***********************************************************************
* ldap_addW (WLDAP32.@)
*
* Add entries to a directory tree (asynchronous operation).
*
* Parameters
* ld [I] Pointer to an LDAP context.
* dn [I] DN of the entry to add.
* attrs [I] Pointer to an array of LDAPModW structures, each
* specifying an attribute and its values to add.
*
* RETURNS
* Message ID of the add operation.
*
* 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_addW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
attrs
[]
)
ULONG
ldap_addW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
attrs
[]
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -111,6 +135,11 @@ exit:
...
@@ -111,6 +135,11 @@ exit:
return
ret
;
return
ret
;
}
}
/***********************************************************************
* ldap_add_extA (WLDAP32.@)
*
* See ldap_add_extW.
*/
ULONG
ldap_add_extA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
attrs
[],
ULONG
ldap_add_extA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
attrs
[],
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
,
ULONG
*
message
)
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
,
ULONG
*
message
)
{
{
...
@@ -156,6 +185,29 @@ exit:
...
@@ -156,6 +185,29 @@ exit:
return
ret
;
return
ret
;
}
}
/***********************************************************************
* ldap_add_extW (WLDAP32.@)
*
* Add entries to a directory tree (asynchronous operation).
*
* Parameters
* ld [I] Pointer to an LDAP context.
* dn [I] DN of the entry to add.
* attrs [I] Pointer to an array of LDAPModW structures, each
* specifying an attribute and its values to add.
* serverctrls [I] Array of LDAP server controls.
* clientctrls [I] Array of LDAP client controls.
* message [O] Message ID of the add 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_add_extW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
attrs
[],
ULONG
ldap_add_extW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
attrs
[],
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
,
ULONG
*
message
)
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
,
ULONG
*
message
)
{
{
...
@@ -203,6 +255,11 @@ exit:
...
@@ -203,6 +255,11 @@ exit:
return
ret
;
return
ret
;
}
}
/***********************************************************************
* ldap_add_ext_sA (WLDAP32.@)
*
* See ldap_add_ext_sW.
*/
ULONG
ldap_add_ext_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
attrs
[],
ULONG
ldap_add_ext_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
attrs
[],
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
)
PLDAPControlA
*
serverctrls
,
PLDAPControlA
*
clientctrls
)
{
{
...
@@ -248,6 +305,27 @@ exit:
...
@@ -248,6 +305,27 @@ exit:
return
ret
;
return
ret
;
}
}
/***********************************************************************
* ldap_add_ext_sW (WLDAP32.@)
*
* Add entries to a directory tree (synchronous operation).
*
* Parameters
* ld [I] Pointer to an LDAP context.
* dn [I] DN of the entry to add.
* attrs [I] Pointer to an array of LDAPModW structures, each
* specifying an attribute and its values to add.
* 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_add_ext_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
attrs
[],
ULONG
ldap_add_ext_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
attrs
[],
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
)
PLDAPControlW
*
serverctrls
,
PLDAPControlW
*
clientctrls
)
{
{
...
@@ -295,6 +373,11 @@ exit:
...
@@ -295,6 +373,11 @@ exit:
return
ret
;
return
ret
;
}
}
/***********************************************************************
* ldap_add_sA (WLDAP32.@)
*
* See ldap_add_sW.
*/
ULONG
ldap_add_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
attrs
[]
)
ULONG
ldap_add_sA
(
WLDAP32_LDAP
*
ld
,
PCHAR
dn
,
LDAPModA
*
attrs
[]
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
...
@@ -327,6 +410,21 @@ exit:
...
@@ -327,6 +410,21 @@ exit:
return
ret
;
return
ret
;
}
}
/***********************************************************************
* ldap_add_sW (WLDAP32.@)
*
* Add entries to a directory tree (synchronous operation).
*
* Parameters
* ld [I] Pointer to an LDAP context.
* dn [I] DN of the entry to add.
* attrs [I] Pointer to an array of LDAPModW structures, each
* specifying an attribute and its values to add.
*
* RETURNS
* Success: LDAP_SUCCESS
* Failure: An LDAP error code.
*/
ULONG
ldap_add_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
attrs
[]
)
ULONG
ldap_add_sW
(
WLDAP32_LDAP
*
ld
,
PWCHAR
dn
,
LDAPModW
*
attrs
[]
)
{
{
ULONG
ret
=
LDAP_NOT_SUPPORTED
;
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