ReactOS 0.4.15-dev-5667-ged97270
winldap_private.h
Go to the documentation of this file.
1/*
2 * WLDAP32 - LDAP support for Wine
3 *
4 * Copyright 2005 Hans Leidekker
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 *
20 * This is an internal version of winldap.h where constants, types and
21 * functions are prefixed with WLDAP32_ whenever they conflict with
22 * native headers.
23 */
24
25#pragma once
26
27typedef enum {
45
49
50typedef struct berelement
51{
54
55#define WLDAP32_LDAP_OPT_API_INFO 0x00
56#define WLDAP32_LDAP_OPT_DESC 0x01
57#define WLDAP32_LDAP_OPT_DEREF 0x02
58#define WLDAP32_LDAP_OPT_SIZELIMIT 0x03
59#define WLDAP32_LDAP_OPT_TIMELIMIT 0x04
60#define WLDAP32_LDAP_OPT_THREAD_FN_PTRS 0x05
61#define WLDAP32_LDAP_OPT_REBIND_FN 0x06
62#define WLDAP32_LDAP_OPT_REBIND_ARG 0x07
63#define WLDAP32_LDAP_OPT_REFERRALS 0x08
64#define WLDAP32_LDAP_OPT_RESTART 0x09
65#define WLDAP32_LDAP_OPT_SSL 0x0a
66#define WLDAP32_LDAP_OPT_IO_FN_PTRS 0x0b
67#define WLDAP32_LDAP_OPT_CACHE_FN_PTRS 0x0d
68#define WLDAP32_LDAP_OPT_CACHE_STRATEGY 0x0e
69#define WLDAP32_LDAP_OPT_CACHE_ENABLE 0x0f
70#define WLDAP32_LDAP_OPT_REFERRAL_HOP_LIMIT 0x10
71#define WLDAP32_LDAP_OPT_VERSION 0x11
72#define WLDAP32_LDAP_OPT_PROTOCOL_VERSION WLDAP32_LDAP_OPT_VERSION
73#define WLDAP32_LDAP_OPT_SERVER_CONTROLS 0x12
74#define WLDAP32_LDAP_OPT_API_FEATURE_INFO 0x15
75#define WLDAP32_LDAP_OPT_HOST_NAME 0x30
76#define WLDAP32_LDAP_OPT_ERROR_NUMBER 0x31
77#define WLDAP32_LDAP_OPT_ERROR_STRING 0x32
78#define WLDAP32_LDAP_OPT_SERVER_ERROR 0x33
79#define WLDAP32_LDAP_OPT_SERVER_EXT_ERROR 0x34
80#define WLDAP32_LDAP_OPT_PING_KEEP_ALIVE 0x36
81#define WLDAP32_LDAP_OPT_PING_WAIT_TIME 0x37
82#define WLDAP32_LDAP_OPT_PING_LIMIT 0x38
83#define WLDAP32_LDAP_OPT_DNSDOMAIN_NAME 0x3b
84#define WLDAP32_LDAP_OPT_GETDSNAME_FLAGS 0x3d
85#define WLDAP32_LDAP_OPT_HOST_REACHABLE 0x3e
86#define WLDAP32_LDAP_OPT_PROMPT_CREDENTIALS 0x3f
87#define WLDAP32_LDAP_OPT_TCP_KEEPALIVE 0x40
88#define WLDAP32_LDAP_OPT_FAST_CONCURRENT_BIND 0x41
89#define WLDAP32_LDAP_OPT_SEND_TIMEOUT 0x42
90#define WLDAP32_LDAP_OPT_REFERRAL_CALLBACK 0x70
91#define WLDAP32_LDAP_OPT_CLIENT_CERTIFICATE 0x80
92#define WLDAP32_LDAP_OPT_SERVER_CERTIFICATE 0x81
93#define WLDAP32_LDAP_OPT_AUTO_RECONNECT 0x91
94#define WLDAP32_LDAP_OPT_SSPI_FLAGS 0x92
95#define WLDAP32_LDAP_OPT_SSL_INFO 0x93
96#define WLDAP32_LDAP_OPT_REF_DEREF_CONN_PER_MSG 0x94
97#define WLDAP32_LDAP_OPT_TLS WLDAP32_LDAP_OPT_SSL
98#define WLDAP32_LDAP_OPT_TLS_INFO WLDAP32_LDAP_OPT_SSL_INFO
99#define WLDAP32_LDAP_OPT_SIGN 0x95
100#define WLDAP32_LDAP_OPT_ENCRYPT 0x96
101#define WLDAP32_LDAP_OPT_SASL_METHOD 0x97
102#define WLDAP32_LDAP_OPT_AREC_EXCLUSIVE 0x98
103#define WLDAP32_LDAP_OPT_SECURITY_CONTEXT 0x99
104#define WLDAP32_LDAP_OPT_ROOTDSE_CACHE 0x9a
105
106typedef struct ldap
107{
108 struct
109 {
115
132
133typedef struct ldapmodA {
136 union {
141
142typedef struct ldapmodW {
145 union {
150
151typedef struct l_timeval
152{
156
157typedef struct ldapmsg
158{
161
163
167
176
177#define LAPI_MAJOR_VER1 1
178#define LAPI_MINOR_VER1 1
179
180typedef struct ldap_version_info
181{
186
187typedef struct WLDAP32_berval
188{
192
193#define LDAP_PAGED_RESULT_OID_STRING "1.2.840.113556.1.4.319"
194#define LDAP_SERVER_RESP_SORT_OID "1.2.840.113556.1.4.474"
195#define LDAP_CONTROL_VLVRESPONSE "2.16.840.1.113730.3.4.10"
196
197#if defined(_MSC_VER) || defined(__MINGW32__)
198#define LDAP_PAGED_RESULT_OID_STRING_W L"1.2.840.113556.1.4.319"
199#define LDAP_SERVER_RESP_SORT_OID_W L"1.2.840.113556.1.4.474"
200#define LDAP_CONTROL_VLVRESPONSE_W L"2.16.840.1.113730.3.4.10"
201#else
202static const WCHAR LDAP_PAGED_RESULT_OID_STRING_W[] = {'1','.','2','.','8','4','0','.','1','1','3','5','5','6','.','1','.','4','.','3','1','9',0};
203static const WCHAR LDAP_SERVER_RESP_SORT_OID_W[] = {'1','.','2','.','8','4','0','.','1','1','3','5','5','6','.','1','.','4','.','4','7','4',0};
204static const WCHAR LDAP_CONTROL_VLVRESPONSE_W[] = {'2','.','1','6','.','8','4','0','.','1','.','1','1','3','7','3','0','.','3','.','4','.','1','0',0};
205#endif
206
207typedef struct ldapcontrolA
208{
213
214typedef struct ldapcontrolW
215{
220
222{
232
233typedef struct ldapsearch LDAPSearch, *PLDAPSearch;
234
235typedef struct ldapsortkeyA
236{
241
242typedef struct ldapsortkeyW
243{
248
249typedef struct ldapapiinfoA
250{
258
259typedef struct ldapapiinfoW
260{
268
270{
275
277{
282
348 PCHAR*,struct WLDAP32_berval**);
350 PWCHAR*,struct WLDAP32_berval**);
458
unsigned char BOOLEAN
#define CDECL
Definition: compat.h:29
unsigned __int3264 UINT_PTR
Definition: mstsclib_h.h:274
long LONG
Definition: pedump.c:60
unsigned short USHORT
Definition: pedump.c:61
Definition: winber.h:32
ULONG ld_cldaptimeout
PCHAR ld_error
UCHAR Reserved3[25]
ULONG ld_msgid
ULONG ld_version
ULONG ld_options
ULONG ld_cldaptries
ULONG ld_errno
ULONG ld_timelimit
ULONG_PTR sb_naddr
UINT_PTR sb_sd
PCHAR ld_host
UCHAR ld_lberoptions
ULONG ld_sizelimit
UCHAR Reserved2[24]
PCHAR ld_matched
ULONG ld_deref
UCHAR Reserved1[41]
ULONG ld_refhoplimit
struct ldap::@584 ld_sb
char ** ldapai_extensions
char * ldapai_vendor_name
int ldapai_protocol_version
PWCHAR ldapai_vendor_name
PWCHAR * ldapai_extensions
int ldapai_protocol_version
struct WLDAP32_berval ldctl_value
BOOLEAN ldctl_iscritical
BOOLEAN ldctl_iscritical
struct WLDAP32_berval ldctl_value
PCHAR mod_type
union ldapmodA::@585 mod_vals
struct berval ** modv_bvals
PCHAR * modv_strvals
PWCHAR * modv_strvals
PWCHAR mod_type
struct berval ** modv_bvals
union ldapmodW::@586 mod_vals
struct ldapmsg * lm_chain
ULONG lm_returncode
struct ldapmsg * lm_next
BOOLEAN ConnectionReferenced
WLDAP32_PLDAP Connection
ULONG lm_msgid
ULONG lm_time
BOOLEAN lm_chased
PVOID Request
BOOLEAN lm_eom
ULONG lm_msgtype
USHORT lm_referral
PVOID lm_ber
BOOLEAN sk_reverseorder
PWCHAR sk_matchruleoid
BOOLEAN sk_reverseorder
uint32_t * PULONG
Definition: typedefs.h:59
int32_t INT
Definition: typedefs.h:58
uint32_t ULONG_PTR
Definition: typedefs.h:65
uint16_t * PWCHAR
Definition: typedefs.h:56
uint32_t ULONG
Definition: typedefs.h:59
char * PCHAR
Definition: typedefs.h:51
PLDAP *typedef ULONG
Definition: winldap.h:343
PLDAP *typedef PVOID
Definition: winldap.h:343
PLDAP *typedef PCHAR
Definition: winldap.h:343
PLDAP *typedef PWCHAR
Definition: winldap.h:343
ULONG CDECL ldap_searchA(WLDAP32_LDAP *, PCHAR, ULONG, PCHAR, PCHAR[], ULONG)
Definition: search.c:44
ULONG CDECL ldap_compareA(WLDAP32_LDAP *, PCHAR, PCHAR, PCHAR)
Definition: compare.c:44
ULONG CDECL ldap_parse_referenceA(WLDAP32_LDAP *, WLDAP32_LDAPMessage *, PCHAR **)
Definition: parse.c:117
ULONG CDECL ldap_delete_extW(WLDAP32_LDAP *, PWCHAR, PLDAPControlW *, PLDAPControlW *, ULONG *)
Definition: delete.c:178
ULONG CDECL ldap_modifyA(WLDAP32_LDAP *, PCHAR, LDAPModA *[])
Definition: modify.c:48
WLDAP32_LDAP *CDECL ldap_openW(PWCHAR, ULONG)
Definition: init.c:459
ULONG CDECL ldap_get_paged_count(WLDAP32_LDAP *, PLDAPSearch, ULONG *, WLDAP32_LDAPMessage *)
Definition: page.c:181
PCHAR *CDECL ldap_explode_dnA(PCHAR, ULONG)
Definition: dn.c:106
struct ldapmodA * PLDAPModA
ULONG CDECL ldap_create_sort_controlA(WLDAP32_PLDAP, PLDAPSortKeyA *, UCHAR, PLDAPControlA *)
PCHAR CDECL ldap_first_attributeA(WLDAP32_LDAP *, WLDAP32_LDAPMessage *, WLDAP32_BerElement **)
Definition: misc.c:290
struct berelement WLDAP32_BerElement
int CDECL ldap_parse_vlv_controlW(WLDAP32_LDAP *, LDAPControlW **, ULONG *, ULONG *, struct WLDAP32_berval **, INT *)
ULONG CDECL ldap_parse_page_controlW(WLDAP32_LDAP *, PLDAPControlW *, ULONG *, struct WLDAP32_berval **)
Definition: page.c:223
ULONG CDECL ldap_modify_sA(WLDAP32_LDAP *, PCHAR, LDAPModA *[])
Definition: modify.c:381
ULONG CDECL ldap_encode_sort_controlA(WLDAP32_PLDAP, PLDAPSortKeyA *, PLDAPControlA, BOOLEAN)
ULONG CDECL ldap_extended_operation_sA(WLDAP32_LDAP *, PCHAR, struct WLDAP32_berval *, PLDAPControlA *, PLDAPControlA *, PCHAR *, struct WLDAP32_berval **)
Definition: extended.c:178
struct ldap WLDAP32_LDAP
ULONG CDECL ldap_modrdnW(WLDAP32_LDAP *, PWCHAR, PWCHAR)
Definition: modrdn.c:93
WLDAP32_LDAP *CDECL cldap_openA(PCHAR, ULONG)
Definition: init.c:223
ULONG CDECL ldap_parse_extended_resultA(WLDAP32_LDAP *, WLDAP32_LDAPMessage *, PCHAR *, struct WLDAP32_berval **, BOOLEAN)
Definition: parse.c:44
ULONG CDECL ldap_compareW(WLDAP32_LDAP *, PWCHAR, PWCHAR, PWCHAR)
Definition: compare.c:96
struct ldap_version_info LDAP_VERSION_INFO
int CDECL LdapUTF8ToUnicode(LPCSTR, int, LPWSTR, int)
Definition: misc.c:658
ULONG CDECL ldap_search_abandon_page(WLDAP32_PLDAP, PLDAPSearch)
ULONG CDECL ldap_value_freeW(PWCHAR *)
Definition: value.c:364
ULONG CDECL ldap_delete_extA(WLDAP32_LDAP *, PCHAR, PLDAPControlA *, PLDAPControlA *, ULONG *)
Definition: delete.c:118
ULONG CDECL ldap_sasl_bind_sA(WLDAP32_LDAP *, const PCHAR, const PCHAR, const BERVAL *, PLDAPControlA *, PLDAPControlA *, PBERVAL *)
Definition: bind.c:347
ULONG CDECL WLDAP32_ldap_count_entries(WLDAP32_LDAP *, WLDAP32_LDAPMessage *)
Definition: misc.c:156
ULONG CDECL ldap_get_optionA(WLDAP32_LDAP *, int, void *)
Definition: option.c:44
static const WCHAR LDAP_SERVER_RESP_SORT_OID_W[]
LDAP_RETCODE
@ WLDAP32_LDAP_USER_CANCELLED
@ WLDAP32_LDAP_DECODING_ERROR
@ WLDAP32_LDAP_MORE_RESULTS_TO_RETURN
@ WLDAP32_LDAP_AUTH_UNKNOWN
@ WLDAP32_LDAP_LOCAL_ERROR
@ WLDAP32_LDAP_UNWILLING_TO_PERFORM
@ WLDAP32_LDAP_PARAM_ERROR
@ WLDAP32_LDAP_ENCODING_ERROR
@ WLDAP32_LDAP_NOT_SUPPORTED
@ WLDAP32_LDAP_NO_RESULTS_RETURNED
@ WLDAP32_LDAP_SUCCESS
@ WLDAP32_LDAP_NO_MEMORY
@ WLDAP32_LDAP_REFERRAL_LIMIT_EXCEEDED
@ WLDAP32_LDAP_CLIENT_LOOP
@ WLDAP32_LDAP_FILTER_ERROR
@ WLDAP32_LDAP_SERVER_DOWN
@ WLDAP32_LDAP_TIMEOUT
@ WLDAP32_LDAP_CONTROL_NOT_FOUND
@ WLDAP32_LDAP_CONNECT_ERROR
struct WLDAP32_berval * PBERVAL
ULONG CDECL ldap_free_controlsW(LDAPControlW **)
Definition: control.c:371
ULONG CDECL ldap_compare_extA(WLDAP32_LDAP *, PCHAR, PCHAR, PCHAR, struct WLDAP32_berval *, PLDAPControlA *, PLDAPControlA *, ULONG *)
Definition: compare.c:148
ULONG CDECL ldap_search_ext_sA(WLDAP32_LDAP *, PCHAR, ULONG, PCHAR, PCHAR[], ULONG, PLDAPControlA *, PLDAPControlA *, struct l_timeval *, ULONG, WLDAP32_LDAPMessage **)
Definition: search.c:301
struct ldapsortkeyW LDAPSortKeyW
ULONG CDECL ldap_search_ext_sW(WLDAP32_LDAP *, PWCHAR, ULONG, PWCHAR, PWCHAR[], ULONG, PLDAPControlW *, PLDAPControlW *, struct l_timeval *, ULONG, WLDAP32_LDAPMessage **)
Definition: search.c:379
int CDECL ldap_parse_vlv_controlA(WLDAP32_LDAP *, LDAPControlA **, ULONG *, ULONG *, struct WLDAP32_berval **, INT *)
struct ldap_version_info * PLDAP_VERSION_INFO
PCHAR *CDECL ldap_get_valuesA(WLDAP32_LDAP *, WLDAP32_LDAPMessage *, PCHAR)
Definition: value.c:130
ULONG CDECL ldap_bindA(WLDAP32_LDAP *, PCHAR, PCHAR, ULONG)
Definition: bind.c:44
WLDAP32_LDAP *CDECL ldap_sslinitW(PWCHAR, ULONG, int)
Definition: init.c:542
ULONG CDECL ldap_delete_ext_sA(WLDAP32_LDAP *, PCHAR, PLDAPControlA *, PLDAPControlA *)
Definition: delete.c:224
ULONG CDECL ldap_delete_ext_sW(WLDAP32_LDAP *, PWCHAR, PLDAPControlW *, PLDAPControlW *)
Definition: delete.c:280
INT CDECL ldap_create_vlv_controlW(WLDAP32_LDAP *, WLDAP32_LDAPVLVInfo *, UCHAR, LDAPControlW **)
Definition: control.c:253
PWCHAR CDECL ldap_next_attributeW(WLDAP32_LDAP *, WLDAP32_LDAPMessage *, WLDAP32_BerElement *)
Definition: misc.c:489
WLDAP32_LDAPMessage *CDECL WLDAP32_ldap_next_reference(WLDAP32_LDAP *, WLDAP32_LDAPMessage *)
Definition: misc.c:554
ULONG CDECL ldap_add_ext_sA(WLDAP32_LDAP *, PCHAR, LDAPModA *[], PLDAPControlA *, PLDAPControlA *)
Definition: add.c:263
ULONG CDECL ldap_sasl_bindW(WLDAP32_LDAP *, const PWCHAR, const PWCHAR, const BERVAL *, PLDAPControlW *, PLDAPControlW *, int *)
Definition: bind.c:293
ULONG CDECL ldap_search_extW(WLDAP32_LDAP *, PWCHAR, ULONG, PWCHAR, PWCHAR[], ULONG, PLDAPControlW *, PLDAPControlW *, ULONG, ULONG, ULONG *)
Definition: search.c:236
struct ldapcontrolW LDAPControlW
ULONG CDECL ldap_get_next_page_s(WLDAP32_LDAP *, PLDAPSearch, struct l_timeval *, ULONG, ULONG *, WLDAP32_LDAPMessage **)
Definition: page.c:170
ULONG CDECL WLDAP32_ldap_count_values_len(PBERVAL *)
ULONG CDECL ldap_simple_bind_sA(WLDAP32_LDAP *, PCHAR, PCHAR)
Definition: bind.c:561
ULONG CDECL ldap_parse_sort_controlA(WLDAP32_LDAP *, PLDAPControlA *, ULONG *, PCHAR *)
Definition: parse.c:273
ULONG CDECL ldap_rename_ext_sW(WLDAP32_LDAP *, PWCHAR, PWCHAR, PWCHAR, INT, PLDAPControlW *, PLDAPControlW *)
Definition: rename.c:246
struct ldapsortkeyA LDAPSortKeyA
ULONG CDECL ldap_compare_sW(WLDAP32_LDAP *, PWCHAR, PWCHAR, PWCHAR)
Definition: compare.c:477
ULONG CDECL ldap_start_tls_sA(WLDAP32_PLDAP, PULONG, WLDAP32_LDAPMessage **, PLDAPControlA *, PLDAPControlA *)
ULONG CDECL ldap_count_valuesA(PCHAR *)
Definition: value.c:72
ULONG CDECL ldap_start_tls_sW(WLDAP32_PLDAP, PULONG, WLDAP32_LDAPMessage **, PLDAPControlW *, PLDAPControlW *)
ULONG CDECL ldap_modrdn2W(WLDAP32_LDAP *, PWCHAR, PWCHAR, INT)
Definition: modrdn.c:184
ULONG CDECL ldap_modrdn_sA(WLDAP32_LDAP *, PCHAR, PCHAR)
Definition: modrdn.c:305
ULONG CDECL ldap_add_extA(WLDAP32_LDAP *, PCHAR, LDAPModA *[], PLDAPControlA *, PLDAPControlA *, ULONG *)
Definition: add.c:143
ULONG CDECL ldap_modrdnA(WLDAP32_LDAP *, PCHAR, PCHAR)
Definition: modrdn.c:44
PBERVAL *CDECL ldap_get_values_lenA(WLDAP32_LDAP *, WLDAP32_LDAPMessage *, PCHAR)
Definition: value.c:249
ULONG CDECL ldap_rename_extW(WLDAP32_LDAP *, PWCHAR, PWCHAR, PWCHAR, INT, PLDAPControlW *, PLDAPControlW *, ULONG *)
Definition: rename.c:120
ULONG CDECL ldap_search_sA(WLDAP32_LDAP *, PCHAR, ULONG, PCHAR, PCHAR[], ULONG, WLDAP32_LDAPMessage **)
Definition: search.c:437
struct ldapcontrolA * PLDAPControlA
ULONG CDECL ldap_compare_ext_sA(WLDAP32_LDAP *, PCHAR, PCHAR, PCHAR, struct WLDAP32_berval *, PLDAPControlA *, PLDAPControlA *)
Definition: compare.c:288
struct ldap * WLDAP32_PLDAP
struct ldapcontrolW * PLDAPControlW
ULONG CDECL ldap_simple_bindA(WLDAP32_LDAP *, PCHAR, PCHAR)
Definition: bind.c:467
ULONG CDECL ldap_get_next_page(WLDAP32_LDAP *, PLDAPSearch, ULONG, ULONG *)
Definition: page.c:161
ULONG CDECL ldap_search_sW(WLDAP32_LDAP *, PWCHAR, ULONG, PWCHAR, PWCHAR[], ULONG, WLDAP32_LDAPMessage **)
Definition: search.c:497
ULONG CDECL ldap_bindW(WLDAP32_LDAP *, PWCHAR, PWCHAR, ULONG)
Definition: bind.c:93
ULONG CDECL ldap_add_sA(WLDAP32_LDAP *, PCHAR, LDAPModA *[])
Definition: add.c:380
PCHAR CDECL ldap_next_attributeA(WLDAP32_LDAP *, WLDAP32_LDAPMessage *, WLDAP32_BerElement *)
Definition: misc.c:452
PWCHAR *CDECL ldap_get_valuesW(WLDAP32_LDAP *, WLDAP32_LDAPMessage *, PWCHAR)
Definition: value.c:217
ULONG CDECL ldap_set_optionW(WLDAP32_LDAP *, int, void *)
Definition: option.c:416
ULONG CDECL ldap_create_page_controlA(WLDAP32_PLDAP, ULONG, struct WLDAP32_berval *, UCHAR, PLDAPControlA *)
PCHAR CDECL ldap_err2stringA(ULONG)
Definition: error.c:71
ULONG CDECL ldap_modrdn2_sW(WLDAP32_LDAP *, PWCHAR, PWCHAR, INT)
Definition: modrdn.c:270
struct WLDAP32_berval WLDAP32_BerValue
PWCHAR CDECL ldap_get_dnW(WLDAP32_LDAP *, WLDAP32_LDAPMessage *)
Definition: dn.c:205
ULONG CDECL ldap_add_sW(WLDAP32_LDAP *, PWCHAR, LDAPModW *[])
Definition: add.c:427
WLDAP32_LDAP *CDECL ldap_conn_from_msg(WLDAP32_LDAP *, WLDAP32_LDAPMessage *)
Definition: misc.c:135
ULONG CDECL ldap_modify_extW(WLDAP32_LDAP *, PWCHAR, LDAPModW *[], PLDAPControlW *, PLDAPControlW *, ULONG *)
Definition: modify.c:212
struct ldap_apifeature_infoW LDAPAPIFeatureInfoW
ULONG CDECL ldap_addA(WLDAP32_LDAP *, PCHAR, LDAPModA *[])
Definition: add.c:48
struct ldapsearch LDAPSearch
struct ldapmodW * PLDAPModW
WLDAP32_LDAPMessage *CDECL WLDAP32_ldap_first_reference(WLDAP32_LDAP *, WLDAP32_LDAPMessage *)
Definition: misc.c:388
ULONG CDECL WLDAP32_ldap_unbind_s(WLDAP32_LDAP *)
Definition: bind.c:684
ULONG CDECL ldap_extended_operationA(WLDAP32_LDAP *, PCHAR, struct WLDAP32_berval *, PLDAPControlA *, PLDAPControlA *, ULONG *)
Definition: extended.c:69
PWCHAR CDECL ldap_err2stringW(ULONG)
Definition: error.c:101
static const WCHAR LDAP_CONTROL_VLVRESPONSE_W[]
struct ldapmodA LDAPModA
ULONG CDECL ldap_bind_sW(WLDAP32_LDAP *, PWCHAR, PWCHAR, ULONG)
Definition: bind.c:186
WLDAP32_LDAP *CDECL ldap_initA(const PCHAR, ULONG)
Definition: init.c:331
ULONG CDECL ldap_ufn2dnA(PCHAR, PCHAR *)
Definition: dn.c:229
ULONG CDECL ldap_parse_referenceW(WLDAP32_LDAP *, WLDAP32_LDAPMessage *, PWCHAR **)
Definition: parse.c:154
struct ldapcontrolA LDAPControlA
PLDAPSearch CDECL ldap_search_init_pageA(WLDAP32_PLDAP, PCHAR, ULONG, PCHAR, PCHAR[], ULONG, PLDAPControlA *, PLDAPControlA *, ULONG, ULONG, PLDAPSortKeyA *)
struct l_timeval * PLDAP_TIMEVAL
ULONG CDECL ldap_value_freeA(PCHAR *)
Definition: value.c:344
ULONG CDECL ldap_ufn2dnW(PWCHAR, PWCHAR *)
Definition: dn.c:276
ULONG CDECL ldap_modify_sW(WLDAP32_LDAP *, PWCHAR, LDAPModW *[])
Definition: modify.c:428
INT CDECL ldap_create_vlv_controlA(WLDAP32_LDAP *, WLDAP32_LDAPVLVInfo *, UCHAR, LDAPControlA **)
Definition: control.c:207
ULONG CDECL ldap_parse_resultA(WLDAP32_LDAP *, WLDAP32_LDAPMessage *, ULONG *, PCHAR *, PCHAR *, PCHAR **, PLDAPControlA **, BOOLEAN)
Definition: parse.c:179
ULONG CDECL ldap_compare_extW(WLDAP32_LDAP *, PWCHAR, PWCHAR, PWCHAR, struct WLDAP32_berval *, PLDAPControlW *, PLDAPControlW *, ULONG *)
Definition: compare.c:224
int CDECL LdapUnicodeToUTF8(LPCWSTR, int, LPSTR, int)
Definition: misc.c:636
ULONG CDECL ldap_search_extA(WLDAP32_LDAP *, PCHAR, ULONG, PCHAR, PCHAR[], ULONG, PLDAPControlA *, PLDAPControlA *, ULONG, ULONG, ULONG *)
Definition: search.c:155
ULONG CDECL ldap_create_page_controlW(WLDAP32_PLDAP, ULONG, struct WLDAP32_berval *, UCHAR, PLDAPControlW *)
struct l_timeval LDAP_TIMEVAL
ULONG CDECL WLDAP32_ldap_abandon(WLDAP32_LDAP *, ULONG)
Definition: misc.c:53
ULONG CDECL LdapGetLastError(void)
Definition: error.c:184
struct ldapmodW LDAPModW
ULONG CDECL ldap_modify_ext_sW(WLDAP32_LDAP *, PWCHAR, LDAPModW *[], PLDAPControlW *, PLDAPControlW *)
Definition: modify.c:330
ULONG CDECL ldap_compare_ext_sW(WLDAP32_LDAP *, PWCHAR, PWCHAR, PWCHAR, struct WLDAP32_berval *, PLDAPControlW *, PLDAPControlW *)
Definition: compare.c:362
ULONG CDECL WLDAP32_ldap_value_free_len(struct WLDAP32_berval **)
Definition: value.c:328
ULONG CDECL WLDAP32_ldap_unbind(WLDAP32_LDAP *)
Definition: bind.c:656
ULONG CDECL WLDAP32_ldap_result(WLDAP32_LDAP *, ULONG, ULONG, struct l_timeval *, WLDAP32_LDAPMessage **)
Definition: misc.c:604
ULONG CDECL ldap_get_optionW(WLDAP32_LDAP *, int, void *)
Definition: option.c:183
PWCHAR CDECL ldap_dn2ufnW(PWCHAR)
Definition: dn.c:80
ULONG CDECL ldap_controls_freeW(LDAPControlW **)
Definition: control.c:107
struct ldapmsg WLDAP32_LDAPMessage
ULONG CDECL ldap_modrdn2_sA(WLDAP32_LDAP *, PCHAR, PCHAR, INT)
Definition: modrdn.c:225
ULONG CDECL ldap_sasl_bind_sW(WLDAP32_LDAP *, const PWCHAR, const PWCHAR, const BERVAL *, PLDAPControlW *, PLDAPControlW *, PBERVAL *)
Definition: bind.c:413
WLDAP32_LDAPMessage *CDECL WLDAP32_ldap_next_entry(WLDAP32_LDAP *, WLDAP32_LDAPMessage *)
Definition: misc.c:524
ULONG CDECL ldap_delete_sA(WLDAP32_LDAP *, PCHAR)
Definition: delete.c:322
struct ldapsortkeyW * PLDAPSortKeyW
ULONG CDECL ldap_cleanup(HANDLE)
Definition: misc.c:116
PLDAPSearch CDECL ldap_search_init_pageW(WLDAP32_PLDAP, PWCHAR, ULONG, PWCHAR, PWCHAR[], ULONG, PLDAPControlW *, PLDAPControlW *, ULONG, ULONG, PLDAPSortKeyW *)
PWCHAR CDECL ldap_first_attributeW(WLDAP32_LDAP *, WLDAP32_LDAPMessage *, WLDAP32_BerElement **)
Definition: misc.c:326
ULONG CDECL ldap_close_extended_op(WLDAP32_LDAP *, ULONG)
Definition: extended.c:56
ULONG CDECL ldap_sasl_bindA(WLDAP32_LDAP *, const PCHAR, const PCHAR, const BERVAL *, PLDAPControlA *, PLDAPControlA *, int *)
Definition: bind.c:227
ULONG CDECL ldap_extended_operationW(WLDAP32_LDAP *, PWCHAR, struct WLDAP32_berval *, PLDAPControlW *, PLDAPControlW *, ULONG *)
Definition: extended.c:133
ULONG CDECL ldap_encode_sort_controlW(WLDAP32_PLDAP, PLDAPSortKeyW *, PLDAPControlW, BOOLEAN)
ULONG CDECL ldap_modifyW(WLDAP32_LDAP *, PWCHAR, LDAPModW *[])
Definition: modify.c:100
ULONG CDECL ldap_parse_extended_resultW(WLDAP32_LDAP *, WLDAP32_LDAPMessage *, PWCHAR *, struct WLDAP32_berval **, BOOLEAN)
Definition: parse.c:88
ULONG CDECL ldap_simple_bindW(WLDAP32_LDAP *, PWCHAR, PWCHAR)
Definition: bind.c:515
struct ldapapiinfoW LDAPAPIInfoW
ULONG CDECL ldap_set_optionA(WLDAP32_LDAP *, int, void *)
Definition: option.c:313
ULONG CDECL LdapMapErrorToWin32(ULONG)
Definition: error.c:302
ULONG CDECL ldap_search_stA(WLDAP32_LDAP *, const PCHAR, ULONG, const PCHAR, PCHAR[], ULONG, struct l_timeval *, WLDAP32_LDAPMessage **)
Definition: search.c:541
ULONG CDECL ldap_parse_page_controlA(WLDAP32_LDAP *, PLDAPControlA *, ULONG *, struct WLDAP32_berval **)
Definition: page.c:198
ULONG CDECL ldap_add_ext_sW(WLDAP32_LDAP *, PWCHAR, LDAPModW *[], PLDAPControlW *, PLDAPControlW *)
Definition: add.c:329
ULONG CDECL ldap_searchW(WLDAP32_LDAP *, PWCHAR, ULONG, PWCHAR, PWCHAR[], ULONG)
Definition: search.c:105
ULONG CDECL ldap_create_sort_controlW(WLDAP32_PLDAP, PLDAPSortKeyW *, UCHAR, PLDAPControlW *)
PWCHAR *CDECL ldap_explode_dnW(PWCHAR, ULONG)
Definition: dn.c:144
ULONG CDECL ldap_control_freeW(LDAPControlW *)
Definition: control.c:67
BOOLEAN CDECL ldap_stop_tls_s(WLDAP32_PLDAP)
ULONG CDECL WLDAP32_ldap_count_references(WLDAP32_LDAP *, WLDAP32_LDAPMessage *)
Definition: misc.c:183
WLDAP32_LDAP *CDECL ldap_initW(const PWCHAR, ULONG)
Definition: init.c:377
PBERVAL *CDECL ldap_get_values_lenW(WLDAP32_LDAP *, WLDAP32_LDAPMessage *, PWCHAR)
Definition: value.c:292
ULONG CDECL ldap_escape_filter_elementA(PCHAR, ULONG, PCHAR, ULONG)
Definition: misc.c:239
ULONG CDECL ldap_delete_sW(WLDAP32_LDAP *, PWCHAR)
Definition: delete.c:357
struct WLDAP32_berval LDAP_BERVAL
struct WLDAP32_ldapvlvinfo WLDAP32_LDAPVLVInfo
ULONG CDECL ldap_rename_ext_sA(WLDAP32_LDAP *, PCHAR, PCHAR, PCHAR, INT, PLDAPControlA *, PLDAPControlA *)
Definition: rename.c:177
WLDAP32_LDAP *CDECL ldap_sslinitA(PCHAR, ULONG, int)
Definition: init.c:496
struct ldapapiinfoA LDAPAPIInfoA
ULONG CDECL ldap_free_controlsA(LDAPControlA **)
Definition: control.c:352
struct ldapsearch * PLDAPSearch
WLDAP32_LDAP *CDECL ldap_openA(PCHAR, ULONG)
Definition: init.c:414
PCHAR CDECL ldap_get_dnA(WLDAP32_LDAP *, WLDAP32_LDAPMessage *)
Definition: dn.c:170
ULONG CDECL ldap_parse_resultW(WLDAP32_LDAP *, WLDAP32_LDAPMessage *, ULONG *, PWCHAR *, PWCHAR *, PWCHAR **, PLDAPControlW **, BOOLEAN)
Definition: parse.c:236
WLDAP32_LDAP *CDECL cldap_openW(PWCHAR, ULONG)
Definition: init.c:268
ULONG CDECL WLDAP32_ldap_result2error(WLDAP32_LDAP *, WLDAP32_LDAPMessage *, ULONG)
Definition: error.c:152
ULONG CDECL ldap_check_filterA(WLDAP32_LDAP *, PCHAR)
Definition: misc.c:72
struct ldapmsg * WLDAP32_PLDAPMessage
ULONG CDECL ldap_modify_ext_sA(WLDAP32_LDAP *, PCHAR, LDAPModA *[], PLDAPControlA *, PLDAPControlA *)
Definition: modify.c:264
ULONG CDECL ldap_check_filterW(WLDAP32_LDAP *, PWCHAR)
Definition: misc.c:105
ULONG CDECL ldap_modrdn2A(WLDAP32_LDAP *, PCHAR, PCHAR, INT)
Definition: modrdn.c:134
ULONG CDECL ldap_deleteA(WLDAP32_LDAP *, PCHAR)
Definition: delete.c:44
struct ldapsortkeyA * PLDAPSortKeyA
ULONG CDECL ldap_search_stW(WLDAP32_LDAP *, const PWCHAR, ULONG, const PWCHAR, PWCHAR[], ULONG, struct l_timeval *, WLDAP32_LDAPMessage **)
Definition: search.c:605
ULONG CDECL ldap_bind_sA(WLDAP32_LDAP *, PCHAR, PCHAR, ULONG)
Definition: bind.c:140
static const WCHAR LDAP_PAGED_RESULT_OID_STRING_W[]
ULONG CDECL ldap_startup(PLDAP_VERSION_INFO, HANDLE *)
Definition: init.c:668
ULONG CDECL ldap_rename_extA(WLDAP32_LDAP *, PCHAR, PCHAR, PCHAR, INT, PLDAPControlA *, PLDAPControlA *, ULONG *)
Definition: rename.c:44
struct WLDAP32_berval BERVAL
ULONG CDECL ldap_control_freeA(LDAPControlA *)
Definition: control.c:44
void CDECL ldap_memfreeW(PWCHAR)
Definition: misc.c:421
PCHAR CDECL ldap_dn2ufnA(PCHAR)
Definition: dn.c:44
ULONG CDECL ldap_parse_sort_controlW(WLDAP32_LDAP *, PLDAPControlW *, ULONG *, PWCHAR *)
Definition: parse.c:316
ULONG CDECL WLDAP32_ldap_msgfree(WLDAP32_LDAPMessage *)
Definition: misc.c:435
ULONG CDECL ldap_count_valuesW(PWCHAR *)
Definition: value.c:108
ULONG CDECL ldap_addW(WLDAP32_LDAP *, PWCHAR, LDAPModW *[])
Definition: add.c:100
ULONG CDECL ldap_controls_freeA(LDAPControlA **)
Definition: control.c:84
struct WLDAP32_berval * PLDAP_BERVAL
void CDECL ldap_memfreeA(PCHAR)
Definition: misc.c:407
ULONG CDECL ldap_modify_extA(WLDAP32_LDAP *, PCHAR, LDAPModA *[], PLDAPControlA *, PLDAPControlA *, ULONG *)
Definition: modify.c:144
struct ldap_apifeature_infoA LDAPAPIFeatureInfoA
ULONG CDECL ldap_escape_filter_elementW(PCHAR, ULONG, PWCHAR, ULONG)
Definition: misc.c:272
ULONG CDECL ldap_simple_bind_sW(WLDAP32_LDAP *, PWCHAR, PWCHAR)
Definition: bind.c:609
ULONG CDECL ldap_modrdn_sW(WLDAP32_LDAP *, PWCHAR, PWCHAR)
Definition: modrdn.c:349
ULONG CDECL ldap_compare_sA(WLDAP32_LDAP *, PCHAR, PCHAR, PCHAR)
Definition: compare.c:425
ULONG CDECL ldap_extended_operation_sW(WLDAP32_LDAP *, PWCHAR, struct WLDAP32_berval *, PLDAPControlW *, PLDAPControlW *, PWCHAR *, struct WLDAP32_berval **)
Definition: extended.c:249
ULONG CDECL ldap_add_extW(WLDAP32_LDAP *, PWCHAR, LDAPModW *[], PLDAPControlW *, PLDAPControlW *, ULONG *)
Definition: add.c:211
WLDAP32_LDAPMessage *CDECL WLDAP32_ldap_first_entry(WLDAP32_LDAP *, WLDAP32_LDAPMessage *)
Definition: misc.c:361
void CDECL WLDAP32_ldap_perror(WLDAP32_LDAP *, const PCHAR)
Definition: error.c:130
ULONG CDECL ldap_connect(WLDAP32_LDAP *, LDAP_TIMEVAL *)
Definition: init.c:318
ULONG CDECL ldap_deleteW(WLDAP32_LDAP *, PWCHAR)
Definition: delete.c:84
struct WLDAP32_ldapvlvinfo * WLDAP32_PLDAPVLVInfo
const char * LPCSTR
Definition: xmlstorage.h:183
char * LPSTR
Definition: xmlstorage.h:182
unsigned char UCHAR
Definition: xmlstorage.h:181
__wchar_t WCHAR
Definition: xmlstorage.h:180
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185