80 infoW.ldapai_info_version =
infoA->ldapai_info_version;
84 infoA->ldapai_api_version =
infoW.ldapai_api_version;
85 infoA->ldapai_protocol_version =
infoW.ldapai_protocol_version;
87 if (
infoW.ldapai_extensions)
92 if (
infoW.ldapai_vendor_name)
95 if (!
infoA->ldapai_vendor_name)
101 infoA->ldapai_vendor_version =
infoW.ldapai_vendor_version;
203 featureU.ldapaif_version = 0;
219 infoU.ldapai_info_version =
infoW->ldapai_info_version;
223 infoW->ldapai_api_version = infoU.ldapai_api_version;
224 infoW->ldapai_protocol_version = infoU.ldapai_protocol_version;
226 if (infoU.ldapai_extensions)
231 if (infoU.ldapai_vendor_name)
233 infoW->ldapai_vendor_name =
strUtoW( infoU.ldapai_vendor_name );
234 if (!
infoW->ldapai_vendor_name)
236 ldap_memvfree( (
void **)infoU.ldapai_extensions );
240 infoW->ldapai_vendor_version = infoU.ldapai_vendor_version;
242 ldap_memvfree( (
void **)infoU.ldapai_extensions );
328 ctrlsW = controlarrayAtoW(
value );
332 controlarrayfreeW( ctrlsW );
431 ctrlsU = controlarrayWtoU(
value );
435 controlarrayfreeU( ctrlsU );
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static UINT map_error(DWORD error)
void CDECL ldap_memfreeW(PWCHAR block)
static LPWSTR strAtoW(const char *str)
static const SecPkgInfoW infoW
static const SecPkgInfoA infoA
ULONG CDECL ldap_get_optionW(WLDAP32_LDAP *ld, int option, void *value)
ULONG CDECL ldap_get_optionA(WLDAP32_LDAP *ld, int option, void *value)
ULONG CDECL ldap_set_optionW(WLDAP32_LDAP *ld, int option, void *value)
ULONG CDECL ldap_set_optionA(WLDAP32_LDAP *ld, int option, void *value)
ULONG CDECL ldap_value_freeW(PWCHAR *vals)
#define LDAPAPIFeatureInfo
#define WLDAP32_LDAP_OPT_IO_FN_PTRS
#define WLDAP32_LDAP_OPT_HOST_REACHABLE
#define WLDAP32_LDAP_OPT_PROTOCOL_VERSION
#define WLDAP32_LDAP_OPT_REBIND_FN
#define WLDAP32_LDAP_OPT_CACHE_FN_PTRS
#define WLDAP32_LDAP_OPT_CLIENT_CERTIFICATE
#define WLDAP32_LDAP_OPT_RESTART
#define WLDAP32_LDAP_OPT_THREAD_FN_PTRS
#define WLDAP32_LDAP_OPT_DEREF
@ WLDAP32_LDAP_LOCAL_ERROR
@ WLDAP32_LDAP_UNWILLING_TO_PERFORM
@ WLDAP32_LDAP_PARAM_ERROR
@ WLDAP32_LDAP_NOT_SUPPORTED
#define WLDAP32_LDAP_OPT_SASL_METHOD
#define WLDAP32_LDAP_OPT_SSPI_FLAGS
#define WLDAP32_LDAP_OPT_SIZELIMIT
#define WLDAP32_LDAP_OPT_SERVER_CERTIFICATE
#define WLDAP32_LDAP_OPT_SECURITY_CONTEXT
#define WLDAP32_LDAP_OPT_HOST_NAME
#define WLDAP32_LDAP_OPT_ERROR_STRING
#define WLDAP32_LDAP_OPT_SERVER_EXT_ERROR
#define WLDAP32_LDAP_OPT_CACHE_STRATEGY
#define WLDAP32_LDAP_OPT_SEND_TIMEOUT
#define WLDAP32_LDAP_OPT_REFERRALS
#define WLDAP32_LDAP_OPT_PING_LIMIT
#define WLDAP32_LDAP_OPT_TIMELIMIT
#define WLDAP32_LDAP_OPT_API_FEATURE_INFO
#define WLDAP32_LDAP_OPT_SSL_INFO
#define WLDAP32_LDAP_OPT_TCP_KEEPALIVE
#define WLDAP32_LDAP_OPT_AREC_EXCLUSIVE
#define WLDAP32_LDAP_OPT_DNSDOMAIN_NAME
#define WLDAP32_LDAP_OPT_ERROR_NUMBER
#define WLDAP32_LDAP_OPT_PING_KEEP_ALIVE
#define WLDAP32_LDAP_OPT_AUTO_RECONNECT
#define WLDAP32_LDAP_OPT_DESC
#define WLDAP32_LDAP_OPT_REF_DEREF_CONN_PER_MSG
#define WLDAP32_LDAP_OPT_SERVER_ERROR
#define WLDAP32_LDAP_OPT_SERVER_CONTROLS
#define WLDAP32_LDAP_OPT_PROMPT_CREDENTIALS
#define WLDAP32_LDAP_OPT_GETDSNAME_FLAGS
#define WLDAP32_LDAP_OPT_PING_WAIT_TIME
#define WLDAP32_LDAP_OPT_SIGN
#define WLDAP32_LDAP_OPT_REFERRAL_CALLBACK
#define WLDAP32_LDAP_OPT_REFERRAL_HOP_LIMIT
#define WLDAP32_LDAP_OPT_ROOTDSE_CACHE
#define WLDAP32_LDAP_OPT_REBIND_ARG
#define WLDAP32_LDAP_OPT_FAST_CONCURRENT_BIND
#define WLDAP32_LDAP_OPT_API_INFO
#define WLDAP32_LDAP_OPT_CACHE_ENABLE
#define WLDAP32_LDAP_OPT_ENCRYPT
#define WLDAP32_LDAP_OPT_SSL
static LPSTR strWtoA(LPCWSTR str)
static void strfreeU(char *str)
static void strfreeW(LPWSTR str)
static char * strWtoU(LPCWSTR str)
static LPWSTR * strarrayUtoW(char **strarray)
static LPSTR * strarrayWtoA(LPWSTR *strarray)
static LPWSTR strUtoW(char *str)