#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include "winldap_private.h"
#include "wldap32.h"
#include "wine/debug.h"
Go to the source code of this file.
|
| WINE_DEFAULT_DEBUG_CHANNEL (wldap32) |
|
ULONG CDECL | ldap_deleteA (WLDAP32_LDAP *ld, PCHAR dn) |
|
ULONG CDECL | ldap_deleteW (WLDAP32_LDAP *ld, PWCHAR dn) |
|
ULONG CDECL | ldap_delete_extA (WLDAP32_LDAP *ld, PCHAR dn, PLDAPControlA *serverctrls, PLDAPControlA *clientctrls, ULONG *message) |
|
ULONG CDECL | ldap_delete_extW (WLDAP32_LDAP *ld, PWCHAR dn, PLDAPControlW *serverctrls, PLDAPControlW *clientctrls, ULONG *message) |
|
ULONG CDECL | ldap_delete_ext_sA (WLDAP32_LDAP *ld, PCHAR dn, PLDAPControlA *serverctrls, PLDAPControlA *clientctrls) |
|
ULONG CDECL | ldap_delete_ext_sW (WLDAP32_LDAP *ld, PWCHAR dn, PLDAPControlW *serverctrls, PLDAPControlW *clientctrls) |
|
ULONG CDECL | ldap_delete_sA (WLDAP32_LDAP *ld, PCHAR dn) |
|
ULONG CDECL | ldap_delete_sW (WLDAP32_LDAP *ld, PWCHAR dn) |
|
◆ ldap_delete_ext_sA()
Definition at line 224 of file delete.c.
226{
228#ifdef HAVE_LDAP
231
233 clientctrls );
234
236
237 if (dn) {
240 }
241 if (serverctrls) {
242 serverctrlsW = controlarrayAtoW( serverctrls );
243 if (!serverctrlsW)
goto exit;
244 }
245 if (clientctrls) {
246 clientctrlsW = controlarrayAtoW( clientctrls );
247 if (!clientctrlsW)
goto exit;
248 }
249
251
254 controlarrayfreeW( serverctrlsW );
255 controlarrayfreeW( clientctrlsW );
256
257#endif
259}
ULONG CDECL ldap_delete_ext_sW(WLDAP32_LDAP *ld, PWCHAR dn, PLDAPControlW *serverctrls, PLDAPControlW *clientctrls)
static LPWSTR strAtoW(const char *str)
@ WLDAP32_LDAP_PARAM_ERROR
@ WLDAP32_LDAP_NOT_SUPPORTED
static void strfreeW(LPWSTR str)
◆ ldap_delete_ext_sW()
Definition at line 280 of file delete.c.
282{
284#ifdef HAVE_LDAP
287
289 clientctrls );
290
292
293 if (dn) {
296 }
297 if (serverctrls) {
298 serverctrlsU = controlarrayWtoU( serverctrls );
299 if (!serverctrlsU)
goto exit;
300 }
301 if (clientctrls) {
302 clientctrlsU = controlarrayWtoU( clientctrls );
303 if (!clientctrlsU)
goto exit;
304 }
305
307
310 controlarrayfreeU( serverctrlsU );
311 controlarrayfreeU( clientctrlsU );
312
313#endif
315}
static UINT map_error(DWORD error)
#define ldap_delete_ext_s
static void strfreeU(char *str)
static char * strWtoU(LPCWSTR str)
Referenced by ldap_delete_ext_sA().
◆ ldap_delete_extA()
Definition at line 118 of file delete.c.
120{
122#ifdef HAVE_LDAP
125
128
130
132
133 if (dn) {
136 }
137 if (serverctrls) {
138 serverctrlsW = controlarrayAtoW( serverctrls );
139 if (!serverctrlsW)
goto exit;
140 }
141 if (clientctrls) {
142 clientctrlsW = controlarrayAtoW( clientctrls );
143 if (!clientctrlsW)
goto exit;
144 }
145
147
150 controlarrayfreeW( serverctrlsW );
151 controlarrayfreeW( clientctrlsW );
152
153#endif
155}
ULONG CDECL ldap_delete_extW(WLDAP32_LDAP *ld, PWCHAR dn, PLDAPControlW *serverctrls, PLDAPControlW *clientctrls, ULONG *message)
◆ ldap_delete_extW()
Definition at line 178 of file delete.c.
180{
182#ifdef HAVE_LDAP
186
189
191
193
194 if (dn) {
197 }
198 if (serverctrls) {
199 serverctrlsU = controlarrayWtoU( serverctrls );
200 if (!serverctrlsU)
goto exit;
201 }
202 if (clientctrls) {
203 clientctrlsU = controlarrayWtoU( clientctrls );
204 if (!clientctrlsU)
goto exit;
205 }
206
209
212 controlarrayfreeU( serverctrlsU );
213 controlarrayfreeU( clientctrlsU );
214
215#endif
217}
Referenced by ldap_delete_extA().
◆ ldap_delete_sA()
Definition at line 322 of file delete.c.
323{
325#ifdef HAVE_LDAP
327
329
331
332 if (dn) {
335 }
336
339
340#endif
342}
ULONG CDECL ldap_delete_sW(WLDAP32_LDAP *ld, PWCHAR dn)
◆ ldap_delete_sW()
Definition at line 357 of file delete.c.
358{
360#ifdef HAVE_LDAP
362
364
366
367 if (dn) {
370 }
371
374
375#endif
377}
Referenced by ldap_delete_sA().
◆ ldap_deleteA()
Definition at line 44 of file delete.c.
45{
47#ifdef HAVE_LDAP
49
51
53
54 if (dn) {
57 }
58
61
62#endif
64}
ULONG CDECL ldap_deleteW(WLDAP32_LDAP *ld, PWCHAR dn)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble * u
◆ ldap_deleteW()
Definition at line 84 of file delete.c.
85{
87#ifdef HAVE_LDAP
90
92
94
95 if (dn) {
98 }
99
101
104 else
106
108
109#endif
111}
Referenced by ldap_deleteA().
◆ WINE_DEFAULT_DEBUG_CHANNEL()
WINE_DEFAULT_DEBUG_CHANNEL |
( |
wldap32 |
| ) |
|