158#ifdef HAVE_LDAP_PARSE_REFERENCE
159 char **referralsU =
NULL;
188 TRACE(
"(%p, %p, %p, %p, %p, %p, %p, 0x%02x)\n", ld,
result, retcode,
189 matched,
error, referrals, serverctrls,
free );
194 &referralsW, &serverctrlsW,
free );
196 if (matched) *matched =
strWtoA( matchedW );
200 if (serverctrls) *serverctrls = controlarrayWtoA( serverctrlsW );
242 char *matchedU =
NULL, *errorU =
NULL, **referralsU =
NULL;
245 TRACE(
"(%p, %p, %p, %p, %p, %p, %p, 0x%02x)\n", ld,
result, retcode,
246 matched,
error, referrals, serverctrls,
free );
251 &referralsU, &serverctrlsU,
free ));
253 if (matched) *matched =
strUtoW( matchedU );
257 if (serverctrls) *serverctrls = controlarrayUtoW( serverctrlsU );
261 ldap_memvfree( (
void **)referralsU );
323#ifdef HAVE_LDAP_PARSE_SORT_CONTROL
325#elif defined(HAVE_LDAP_PARSE_SORTRESPONSE_CONTROL)
336 controlU = controlarrayWtoU(
control );
339#ifdef HAVE_LDAP_PARSE_SORT_CONTROL
345#elif defined(HAVE_LDAP_PARSE_SORTRESPONSE_CONTROL)
346 for (
i = 0; controlU[
i];
i++)
349 sortcontrol = controlU[
i];
353 controlarrayfreeU( controlU );
356 if (!(
ret = ldap_parse_sortresponse_control( ld, sortcontrol, &
res, &attrU )))
362 controlarrayfreeU( controlU );
381 TRACE(
"(%p, %p, %p, %p, %p, %p)\n", ld,
control, targetpos,
427#ifdef HAVE_LDAP_PARSE_VLV_CONTROL
429#elif defined(HAVE_LDAP_PARSE_VLVRESPONSE_CONTROL)
435 TRACE(
"(%p, %p, %p, %p, %p, %p)\n", ld,
control, targetpos,
440 controlU = controlarrayWtoU(
control );
443#ifdef HAVE_LDAP_PARSE_VLV_CONTROL
450#elif defined(HAVE_LDAP_PARSE_VLVRESPONSE_CONTROL)
451 for (
i = 0; controlU[
i];
i++)
454 vlvcontrol = controlU[
i];
458 controlarrayfreeU( controlU );
461 if (!(
ret = ldap_parse_vlvresponse_control( ld, vlvcontrol, &
pos, &
count,
468 controlarrayfreeU( controlU );
int strcmp(const char *String1, const char *String2)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static UINT map_error(DWORD error)
ULONG CDECL ldap_controls_freeW(LDAPControlW **controls)
void CDECL ldap_memfreeW(PWCHAR block)
ULONG CDECL ldap_parse_referenceA(WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *message, PCHAR **referrals)
ULONG CDECL ldap_parse_resultW(WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *result, ULONG *retcode, PWCHAR *matched, PWCHAR *error, PWCHAR **referrals, PLDAPControlW **serverctrls, BOOLEAN free)
ULONG CDECL ldap_parse_extended_resultA(WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *result, PCHAR *oid, struct WLDAP32_berval **data, BOOLEAN free)
ULONG CDECL ldap_parse_extended_resultW(WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *result, PWCHAR *oid, struct WLDAP32_berval **data, BOOLEAN free)
ULONG CDECL ldap_parse_sort_controlA(WLDAP32_LDAP *ld, PLDAPControlA *control, ULONG *result, PCHAR *attr)
ULONG CDECL ldap_parse_resultA(WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *result, ULONG *retcode, PCHAR *matched, PCHAR *error, PCHAR **referrals, PLDAPControlA **serverctrls, BOOLEAN free)
ULONG CDECL ldap_parse_sort_controlW(WLDAP32_LDAP *ld, PLDAPControlW *control, ULONG *result, PWCHAR *attr)
ULONG CDECL ldap_parse_referenceW(WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *message, PWCHAR **referrals)
INT CDECL ldap_parse_vlv_controlW(WLDAP32_LDAP *ld, PLDAPControlW *control, PULONG targetpos, PULONG listcount, struct WLDAP32_berval **context, PINT errcode)
INT CDECL ldap_parse_vlv_controlA(WLDAP32_LDAP *ld, PLDAPControlA *control, PULONG targetpos, PULONG listcount, struct WLDAP32_berval **context, PINT errcode)
GLuint GLuint GLsizei count
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
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 const GLfloat const GLdouble const GLfloat GLint i
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
static const WCHAR errorW[]
static const WCHAR controlW[]
ULONG CDECL ldap_value_freeW(PWCHAR *vals)
#define ldap_parse_extended_result
#define ldap_parse_reference
#define ldap_parse_vlv_control
#define ldap_parse_result
#define ldap_controls_free
#define ldap_parse_sort_control
#define LDAP_SERVER_RESP_SORT_OID
#define LDAP_CONTROL_VLVRESPONSE
@ WLDAP32_LDAP_PARAM_ERROR
@ WLDAP32_LDAP_NOT_SUPPORTED
@ WLDAP32_LDAP_NO_RESULTS_RETURNED
@ WLDAP32_LDAP_CONTROL_NOT_FOUND
static LPSTR strWtoA(LPCWSTR str)
static LPWSTR * strarrayUtoW(char **strarray)
static LPSTR * strarrayWtoA(LPWSTR *strarray)
static LPWSTR strUtoW(char *str)