#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_modrdnA (WLDAP32_LDAP *ld, PCHAR dn, PCHAR newdn) |
|
ULONG CDECL | ldap_modrdnW (WLDAP32_LDAP *ld, PWCHAR dn, PWCHAR newdn) |
|
ULONG CDECL | ldap_modrdn2A (WLDAP32_LDAP *ld, PCHAR dn, PCHAR newdn, INT delete) |
|
ULONG CDECL | ldap_modrdn2W (WLDAP32_LDAP *ld, PWCHAR dn, PWCHAR newdn, INT delete) |
|
ULONG CDECL | ldap_modrdn2_sA (WLDAP32_LDAP *ld, PCHAR dn, PCHAR newdn, INT delete) |
|
ULONG CDECL | ldap_modrdn2_sW (WLDAP32_LDAP *ld, PWCHAR dn, PWCHAR newdn, INT delete) |
|
ULONG CDECL | ldap_modrdn_sA (WLDAP32_LDAP *ld, PCHAR dn, PCHAR newdn) |
|
ULONG CDECL | ldap_modrdn_sW (WLDAP32_LDAP *ld, PWCHAR dn, PWCHAR newdn) |
|
◆ ldap_modrdn2_sA()
Definition at line 225 of file modrdn.c.
226{
228#ifdef HAVE_LDAP
230
232
234
236
237 if (dn) {
240 }
241
243 if (!newdnW)
goto exit;
244
246
250
251#endif
253}
static LPWSTR strAtoW(const char *str)
ULONG CDECL ldap_modrdn2_sW(WLDAP32_LDAP *ld, PWCHAR dn, PWCHAR newdn, INT delete)
@ WLDAP32_LDAP_PARAM_ERROR
@ WLDAP32_LDAP_NOT_SUPPORTED
static void strfreeW(LPWSTR str)
◆ ldap_modrdn2_sW()
Definition at line 270 of file modrdn.c.
271{
273#ifdef HAVE_LDAP
275
277
279
281
282 if (dn) {
285 }
286
288 if (!newdnU)
goto exit;
289
291
295
296#endif
298}
static UINT map_error(DWORD error)
static void strfreeU(char *str)
static char * strWtoU(LPCWSTR str)
Referenced by ldap_modrdn2_sA().
◆ ldap_modrdn2A()
Definition at line 134 of file modrdn.c.
135{
137#ifdef HAVE_LDAP
139
141
143
144 if (!ld || !newdn)
return ~0
u;
145
146 if (dn) {
149 }
150
152 if (!newdnW)
goto exit;
153
155
159
160#endif
162}
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
ULONG CDECL ldap_modrdn2W(WLDAP32_LDAP *ld, PWCHAR dn, PWCHAR newdn, INT delete)
◆ ldap_modrdn2W()
Definition at line 184 of file modrdn.c.
185{
187#ifdef HAVE_LDAP
190
192
194
195 if (!ld || !newdn)
return ~0
u;
196
197 if (dn) {
200 }
201
203 if (!newdnU)
goto exit;
204
206
209 else
211
215
216#endif
218}
Referenced by ldap_modrdn2A().
◆ ldap_modrdn_sA()
Definition at line 305 of file modrdn.c.
306{
308#ifdef HAVE_LDAP
310
312
314
316
317 if (dn) {
320 }
321
323 if (!newdnW)
goto exit;
324
326
330
331#endif
333}
ULONG CDECL ldap_modrdn_sW(WLDAP32_LDAP *ld, PWCHAR dn, PWCHAR newdn)
◆ ldap_modrdn_sW()
Definition at line 349 of file modrdn.c.
350{
352#ifdef HAVE_LDAP
354
356
358
360
361 if (dn) {
364 }
365
367 if (!newdnU)
goto exit;
368
370
374
375#endif
377}
Referenced by ldap_modrdn_sA().
◆ ldap_modrdnA()
Definition at line 44 of file modrdn.c.
45{
47#ifdef HAVE_LDAP
49
51
53
54 if (!ld || !newdn)
return ~0
u;
55
56 if (dn) {
59 }
60
62 if (!newdnW)
goto exit;
63
65
69
70#endif
72}
ULONG CDECL ldap_modrdnW(WLDAP32_LDAP *ld, PWCHAR dn, PWCHAR newdn)
◆ ldap_modrdnW()
Definition at line 93 of file modrdn.c.
94{
96#ifdef HAVE_LDAP
99
101
103
104 if (!ld || !newdn)
return ~0
u;
105
106 if (dn) {
109 }
110
112 if (!newdnU)
goto exit;
113
115
118 else
120
124
125#endif
127}
Referenced by ldap_modrdnA().
◆ WINE_DEFAULT_DEBUG_CHANNEL()
WINE_DEFAULT_DEBUG_CHANNEL |
( |
wldap32 |
| ) |
|