58 TRACE(
"(%p, 0x%08x)\n", ld, msgid );
186#ifdef HAVE_LDAP_COUNT_REFERENCES
205 if ((
src[
i] >=
'0' &&
src[
i] <=
'9') ||
219 static const char fmt[] =
"\\%02X";
224 if ((
src[
i] >=
'0' &&
src[
i] <=
'9') ||
390#ifdef HAVE_LDAP_FIRST_REFERENCE
394 if (!ld)
return NULL;
556#ifdef HAVE_LDAP_NEXT_REFERENCE
610 TRACE(
"(%p, 0x%08x, 0x%08x, %p, %p)\n", ld, msgid, all,
timeout,
res );
612 if (!ld || !
res || msgid == ~0
u)
return ~0
u;
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static HINSTANCE instance
#define WideCharToMultiByte
#define MultiByteToWideChar
static UINT map_error(DWORD error)
ULONG CDECL WLDAP32_ldap_count_entries(WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *res)
int CDECL LdapUTF8ToUnicode(LPCSTR src, int srclen, LPWSTR dst, int dstlen)
ULONG CDECL WLDAP32_ldap_count_references(WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *res)
ULONG CDECL WLDAP32_ldap_result(WLDAP32_LDAP *ld, ULONG msgid, ULONG all, struct l_timeval *timeout, WLDAP32_LDAPMessage **res)
PCHAR CDECL ldap_next_attributeA(WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *entry, WLDAP32_BerElement *ptr)
static ULONG get_escape_size(PCHAR src, ULONG srclen)
WLDAP32_LDAPMessage *CDECL WLDAP32_ldap_first_reference(WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *res)
ULONG CDECL ldap_cleanup(HANDLE instance)
static void escape_filter_element(PCHAR src, ULONG srclen, PCHAR dst)
int CDECL LdapUnicodeToUTF8(LPCWSTR src, int srclen, LPSTR dst, int dstlen)
PWCHAR CDECL ldap_first_attributeW(WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *entry, WLDAP32_BerElement **ptr)
void CDECL ldap_memfreeW(PWCHAR block)
ULONG CDECL ldap_escape_filter_elementW(PCHAR src, ULONG srclen, PWCHAR dst, ULONG dstlen)
PWCHAR CDECL ldap_next_attributeW(WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *entry, WLDAP32_BerElement *ptr)
ULONG CDECL WLDAP32_ldap_msgfree(WLDAP32_LDAPMessage *res)
WLDAP32_LDAPMessage *CDECL WLDAP32_ldap_next_reference(WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *entry)
ULONG CDECL ldap_escape_filter_elementA(PCHAR src, ULONG srclen, PCHAR dst, ULONG dstlen)
ULONG CDECL ldap_check_filterW(WLDAP32_LDAP *ld, PWCHAR filter)
ULONG CDECL ldap_check_filterA(WLDAP32_LDAP *ld, PCHAR filter)
void CDECL ldap_memfreeA(PCHAR block)
WLDAP32_LDAP *CDECL ldap_conn_from_msg(WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *res)
PCHAR CDECL ldap_first_attributeA(WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *entry, WLDAP32_BerElement **ptr)
WLDAP32_LDAPMessage *CDECL WLDAP32_ldap_next_entry(WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *entry)
WLDAP32_LDAPMessage *CDECL WLDAP32_ldap_first_entry(WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *res)
ULONG CDECL WLDAP32_ldap_abandon(WLDAP32_LDAP *ld, ULONG msgid)
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
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 LPWSTR strAtoW(const char *str)
#define sprintf(buf, format,...)
static DWORD LPDWORD LPCSTR DWORD srclen
#define ldap_first_attribute
WINLDAPAPI ULONG ldap_result(LDAP *, ULONG, ULONG, struct l_timeval *, LDAPMessage **)
WINLDAPAPI PLDAPMessage ldap_next_reference(LDAP *, LDAPMessage *)
WINLDAPAPI ULONG ldap_msgfree(LDAPMessage *)
WINLDAPAPI PLDAPMessage ldap_next_entry(LDAP *, LDAPMessage *)
WINLDAPAPI ULONG ldap_count_references(LDAP *, LDAPMessage *)
WINLDAPAPI PLDAPMessage ldap_first_entry(LDAP *, LDAPMessage *)
WINLDAPAPI ULONG ldap_count_entries(LDAP *, LDAPMessage *)
WINLDAPAPI PLDAPMessage ldap_first_reference(LDAP *, LDAPMessage *)
#define ldap_next_attribute
@ WLDAP32_LDAP_PARAM_ERROR
@ WLDAP32_LDAP_NOT_SUPPORTED
static LPSTR strWtoA(LPCWSTR str)
static void strfreeW(LPWSTR str)
static void strfreeA(LPSTR str)
static LPWSTR strUtoW(char *str)
static unsigned int block