ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

winldap.h
Go to the documentation of this file.
00001 /*
00002   winldap.h - Header file for the Windows LDAP API
00003 
00004   Written by Filip Navara <xnavara@volny.cz>
00005 
00006   References:
00007     The C LDAP Application Program Interface
00008     http://www.watersprings.org/pub/id/draft-ietf-ldapext-ldap-c-api-05.txt
00009 
00010     Lightweight Directory Access Protocol Reference
00011     http://msdn.microsoft.com/library/en-us/netdir/ldap/ldap_reference.asp
00012 
00013   This library is distributed in the hope that it will be useful,
00014   but WITHOUT ANY WARRANTY; without even the implied warranty of
00015   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00016 */
00017 
00018 #ifndef _WINLDAP_H
00019 #define _WINLDAP_H
00020 
00021 #ifndef _SCHANNEL_H
00022 #include <schannel.h>
00023 #endif
00024 
00025 #ifndef _WINBER_H
00026 #include <winber.h>
00027 #endif
00028 
00029 #ifndef WINLDAPAPI
00030 #define WINLDAPAPI DECLSPEC_IMPORT
00031 #endif
00032 
00033 #ifndef _WINLDAP_DEPRECATED
00034 #if (( __GNUC__ == 3 && __GNUC_MINOR__ > 0 ) || __GNUC__ > 3)
00035 #define _WINLDAP_DEPRECATED __attribute__((__deprecated__))
00036 #else
00037 #define _WINLDAP_DEPRECATED
00038 #endif
00039 #endif
00040 
00041 #include <pshpack4.h>
00042 
00043 #ifdef __cplusplus
00044 extern "C" {
00045 #endif
00046 
00047 #define LDAP_VERSION1   1
00048 #define LDAP_VERSION2   2
00049 #define LDAP_VERSION3   3
00050 #define LDAP_VERSION    LDAP_VERSION2
00051 #define LDAP_API_VERSION    2004
00052 #define LDAP_VERSION_MIN    LDAP_VERSION2
00053 #define LDAP_VERSION_MAX    LDAP_VERSION3
00054 #define LDAP_VENDOR_NAME    "Microsoft Corporation."
00055 #define LDAP_VENDOR_NAME_W  L"Microsoft Corporation."
00056 #define LDAP_VENDOR_VERSION 510
00057 #define LDAP_API_INFO_VERSION   1
00058 #define LDAP_FEATURE_INFO_VERSION   1
00059 #define LDAP_SUCCESS    0x00
00060 #define LDAP_OPERATIONS_ERROR   0x01
00061 #define LDAP_PROTOCOL_ERROR 0x02
00062 #define LDAP_TIMELIMIT_EXCEEDED 0x03
00063 #define LDAP_SIZELIMIT_EXCEEDED 0x04
00064 #define LDAP_COMPARE_FALSE  0x05
00065 #define LDAP_COMPARE_TRUE   0x06
00066 #define LDAP_STRONG_AUTH_NOT_SUPPORTED  0x07
00067 #define LDAP_STRONG_AUTH_REQUIRED   0x08
00068 #define LDAP_REFERRAL_V2    0x09
00069 #define LDAP_REFERRAL   0x0a
00070 #define LDAP_ADMIN_LIMIT_EXCEEDED   0x0b
00071 #define LDAP_UNAVAILABLE_CRIT_EXTENSION 0x0c
00072 #define LDAP_CONFIDENTIALITY_REQUIRED   0x0d
00073 #define LDAP_SASL_BIND_IN_PROGRESS  0x0e
00074 #define LDAP_NO_SUCH_ATTRIBUTE  0x10
00075 #define LDAP_UNDEFINED_TYPE 0x11
00076 #define LDAP_INAPPROPRIATE_MATCHING 0x12
00077 #define LDAP_CONSTRAINT_VIOLATION   0x13
00078 #define LDAP_TYPE_OR_VALUE_EXISTS   0x14
00079 #define LDAP_INVALID_SYNTAX 0x15
00080 #define LDAP_NO_SUCH_OBJECT 0x20
00081 #define LDAP_ALIAS_PROBLEM  0x21
00082 #define LDAP_INVALID_DN_SYNTAX  0x22
00083 #define LDAP_IS_LEAF    0x23
00084 #define LDAP_ALIAS_DEREF_PROBLEM    0x24
00085 #define LDAP_INAPPROPRIATE_AUTH 0x30
00086 #define LDAP_INVALID_CREDENTIALS    0x31
00087 #define LDAP_INSUFFICIENT_ACCESS    0x32
00088 #define LDAP_BUSY   0x33
00089 #define LDAP_UNAVAILABLE    0x34
00090 #define LDAP_UNWILLING_TO_PERFORM   0x35
00091 #define LDAP_LOOP_DETECT    0x36
00092 #define LDAP_NAMING_VIOLATION   0x40
00093 #define LDAP_OBJECT_CLASS_VIOLATION 0x41
00094 #define LDAP_NOT_ALLOWED_ON_NONLEAF 0x42
00095 #define LDAP_NOT_ALLOWED_ON_RDN 0x43
00096 #define LDAP_ALREADY_EXISTS 0x44
00097 #define LDAP_NO_OBJECT_CLASS_MODS   0x45
00098 #define LDAP_RESULTS_TOO_LARGE  0x46
00099 #define LDAP_AFFECTS_MULTIPLE_DSAS  0x47
00100 #define LDAP_OTHER  0x50
00101 #define LDAP_SERVER_DOWN    0x51
00102 #define LDAP_LOCAL_ERROR    0x52
00103 #define LDAP_ENCODING_ERROR 0x53
00104 #define LDAP_DECODING_ERROR 0x54
00105 #define LDAP_TIMEOUT    0x55
00106 #define LDAP_AUTH_UNKNOWN   0x56
00107 #define LDAP_FILTER_ERROR   0x57
00108 #define LDAP_USER_CANCELLED 0x58
00109 #define LDAP_PARAM_ERROR    0x59
00110 #define LDAP_NO_MEMORY  0x5a
00111 #define LDAP_CONNECT_ERROR  0x5b
00112 #define LDAP_NOT_SUPPORTED  0x5c
00113 #define LDAP_CONTROL_NOT_FOUND  0x5d
00114 #define LDAP_NO_RESULTS_RETURNED    0x5e
00115 #define LDAP_MORE_RESULTS_TO_RETURN 0x5f
00116 #define LDAP_CLIENT_LOOP    0x60
00117 #define LDAP_REFERRAL_LIMIT_EXCEEDED    0x61
00118 #define LDAP_OPT_SUCCESS    LDAP_SUCCESS
00119 #define LDAP_AUTH_METHOD_NOT_SUPPORTED  LDAP_STRONG_AUTH_NOT_SUPPORTED
00120 #define LDAP_ATTRIBUTE_OR_VALUE_EXISTS  LDAP_TYPE_OR_VALUE_EXISTS
00121 #define LDAP_INSUFFICIENT_RIGHTS    LDAP_INSUFFICIENT_ACCESS
00122 #define LDAP_PARTIAL_RESULTS    LDAP_REFERRAL_V2
00123 #define LDAP_PORT   389
00124 #define LDAP_SSL_PORT   636
00125 #define LDAP_GC_PORT    3268
00126 #define LDAP_SSL_GC_PORT    3269
00127 #define LDAP_OPT_ON ((void*)1)
00128 #define LDAP_OPT_OFF    ((void*)0)
00129 #define LDAP_OPT_API_INFO   0x00
00130 #define LDAP_OPT_DESC   0x01
00131 #define LDAP_OPT_DEREF  0x02
00132 #define LDAP_OPT_SIZELIMIT  0x03
00133 #define LDAP_OPT_TIMELIMIT  0x04
00134 #define LDAP_OPT_THREAD_FN_PTRS 0x05
00135 #define LDAP_OPT_REBIND_FN  0x06
00136 #define LDAP_OPT_REBIND_ARG 0x07
00137 #define LDAP_OPT_REFERRALS  0x08
00138 #define LDAP_OPT_RESTART    0x09
00139 #define LDAP_OPT_SSL    0x0a
00140 #define LDAP_OPT_IO_FN_PTRS 0x0b
00141 #define LDAP_OPT_CACHE_FN_PTRS  0x0d
00142 #define LDAP_OPT_CACHE_STRATEGY 0x0e
00143 #define LDAP_OPT_CACHE_ENABLE   0x0f
00144 #define LDAP_OPT_REFERRAL_HOP_LIMIT 0x10
00145 #define LDAP_OPT_PROTOCOL_VERSION   0x11
00146 #define LDAP_OPT_SERVER_CONTROLS    0x12
00147 #define LDAP_OPT_CLIENT_CONTROLS    0x13
00148 #define LDAP_OPT_API_FEATURE_INFO   0x15
00149 #define LDAP_OPT_HOST_NAME  0x30
00150 #define LDAP_OPT_ERROR_NUMBER   0x31
00151 #define LDAP_OPT_ERROR_STRING   0x32
00152 #define LDAP_OPT_SERVER_ERROR   0x33
00153 #define LDAP_OPT_SERVER_EXT_ERROR   0x34
00154 #define LDAP_OPT_PING_KEEP_ALIVE    0x36
00155 #define LDAP_OPT_PING_WAIT_TIME 0x37
00156 #define LDAP_OPT_PING_LIMIT 0x38
00157 #define LDAP_OPT_DNSDOMAIN_NAME 0x3b
00158 #define LDAP_OPT_GETDSNAME_FLAGS    0x3d
00159 #define LDAP_OPT_HOST_REACHABLE 0x3e
00160 #define LDAP_OPT_PROMPT_CREDENTIALS 0x3f
00161 #define LDAP_OPT_TCP_KEEPALIVE  0x40
00162 #define LDAP_OPT_REFERRAL_CALLBACK  0x70
00163 #define LDAP_OPT_CLIENT_CERTIFICATE 0x80
00164 #define LDAP_OPT_SERVER_CERTIFICATE 0x81
00165 #define LDAP_OPT_AUTO_RECONNECT 0x91
00166 #define LDAP_OPT_SSPI_FLAGS 0x92
00167 #define LDAP_OPT_SSL_INFO   0x93
00168 #define LDAP_OPT_REF_DEREF_CONN_PER_MSG 0x94
00169 #define LDAP_OPT_SIGN   0x95
00170 #define LDAP_OPT_ENCRYPT    0x96
00171 #define LDAP_OPT_SASL_METHOD    0x97
00172 #define LDAP_OPT_AREC_EXCLUSIVE 0x98
00173 #define LDAP_OPT_SECURITY_CONTEXT   0x99
00174 #define LDAP_OPT_ROOTDSE_CACHE  0x9a
00175 #define LDAP_OPT_VERSION    LDAP_OPT_PROTOCOL_VERSION
00176 #define LDAP_OPT_TLS    LDAP_OPT_SSL
00177 #define LDAP_OPT_TLS_INFO   LDAP_OPT_SSL_INFO
00178 #define LDAP_DEREF_NEVER    0x00
00179 #define LDAP_DEREF_SEARCHING    0x01
00180 #define LDAP_DEREF_FINDING  0x02
00181 #define LDAP_DEREF_ALWAYS   0x03
00182 #define LDAP_NO_LIMIT   0
00183 #define LDAP_CONTROL_REFERRALS  "1.2.840.113556.1.4.616"
00184 #define LDAP_CONTROL_REFERRALS_W    L"1.2.840.113556.1.4.616"
00185 #define LDAP_CHASE_SUBORDINATE_REFERRALS    0x20U
00186 #define LDAP_CHASE_EXTERNAL_REFERRALS   0x40U
00187 #define LDAP_SCOPE_DEFAULT  -1
00188 #define LDAP_SCOPE_BASE 0x0000
00189 #define LDAP_SCOPE_ONELEVEL 0x0001
00190 #define LDAP_SCOPE_SUBTREE  0x0002
00191 #define LDAP_MOD_ADD    0x00
00192 #define LDAP_MOD_DELETE 0x01
00193 #define LDAP_MOD_REPLACE    0x02
00194 #define LDAP_MOD_BVALUES    0x80
00195 #define LDAP_RES_BIND   0x61
00196 #define LDAP_RES_SEARCH_ENTRY   0x64
00197 #define LDAP_RES_SEARCH_RESULT  0x65
00198 #define LDAP_RES_MODIFY 0x67
00199 #define LDAP_RES_ADD    0x69
00200 #define LDAP_RES_DELETE 0x6b
00201 #define LDAP_RES_MODRDN 0x6d
00202 #define LDAP_RES_COMPARE    0x6f
00203 #define LDAP_RES_SEARCH_REFERENCE   0x73
00204 #define LDAP_RES_EXTENDED   0x78
00205 #define LDAP_RES_ANY    (-1L)
00206 #define LDAP_MSG_ONE    0x00
00207 #define LDAP_MSG_ALL    0x01
00208 #define LDAP_MSG_RECEIVED   0x02
00209 #define LDAP_SERVER_SORT_OID    "1.2.840.113556.1.4.473"
00210 #define LDAP_SERVER_SORT_OID_W  L"1.2.840.113556.1.4.473"
00211 #define LDAP_SERVER_RESP_SORT_OID   "1.2.840.113556.1.4.474"
00212 #define LDAP_SERVER_RESP_SORT_OID_W L"1.2.840.113556.1.4.474"
00213 #define LDAP_PAGED_RESULT_OID_STRING    "1.2.840.113556.1.4.319"
00214 #define LDAP_PAGED_RESULT_OID_STRING_W  L"1.2.840.113556.1.4.319"
00215 #define LDAP_CONTROL_VLVREQUEST "2.16.840.1.113730.3.4.9"
00216 #define LDAP_CONTROL_VLVREQUEST_W   L"2.16.840.1.113730.3.4.9"
00217 #define LDAP_CONTROL_VLVRESPONSE    "2.16.840.1.113730.3.4.10"
00218 #define LDAP_CONTROL_VLVRESPONSE_W  L"2.16.840.1.113730.3.4.10"
00219 #define LDAP_START_TLS_OID  "1.3.6.1.4.1.1466.20037"
00220 #define LDAP_START_TLS_OID_W    L"1.3.6.1.4.1.1466.20037"
00221 #define LDAP_TTL_EXTENDED_OP_OID    "1.3.6.1.4.1.1466.101.119.1"
00222 #define LDAP_TTL_EXTENDED_OP_OID_W  L"1.3.6.1.4.1.1466.101.119.1"
00223 #define LDAP_AUTH_NONE  0x00U
00224 #define LDAP_AUTH_SIMPLE    0x80U
00225 #define LDAP_AUTH_SASL  0x83U
00226 #define LDAP_AUTH_OTHERKIND 0x86U
00227 #define LDAP_AUTH_EXTERNAL  (LDAP_AUTH_OTHERKIND | 0x20U)
00228 #define LDAP_AUTH_SICILY    (LDAP_AUTH_OTHERKIND | 0x200U)
00229 #define LDAP_AUTH_NEGOTIATE (LDAP_AUTH_OTHERKIND | 0x400U)
00230 #define LDAP_AUTH_MSN   (LDAP_AUTH_OTHERKIND | 0x800U)
00231 #define LDAP_AUTH_NTLM  (LDAP_AUTH_OTHERKIND | 0x1000U)
00232 #define LDAP_AUTH_DIGEST    (LDAP_AUTH_OTHERKIND | 0x4000U)
00233 #define LDAP_AUTH_DPA   (LDAP_AUTH_OTHERKIND | 0x2000U)
00234 #define LDAP_AUTH_SSPI  LDAP_AUTH_NEGOTIATE
00235 #define LDAP_FILTER_AND 0xa0
00236 #define LDAP_FILTER_OR  0xa1
00237 #define LDAP_FILTER_NOT 0xa2
00238 #define LDAP_FILTER_EQUALITY    0xa3
00239 #define LDAP_FILTER_SUBSTRINGS  0xa4
00240 #define LDAP_FILTER_GE  0xa5
00241 #define LDAP_FILTER_LE  0xa6
00242 #define LDAP_FILTER_APPROX  0xa8
00243 #define LDAP_FILTER_EXTENSIBLE  0xa9
00244 #define LDAP_FILTER_PRESENT 0x87
00245 #define LDAP_SUBSTRING_INITIAL  0x80
00246 #define LDAP_SUBSTRING_ANY  0x81
00247 #define LDAP_SUBSTRING_FINAL    0x82
00248 
00249 typedef struct ldap {
00250     char Reserved[76];
00251     PCHAR ld_host;
00252     ULONG ld_version;
00253     UCHAR ld_lberoptions;
00254     int ld_deref;
00255     int ld_timelimit;
00256     int ld_sizelimit;
00257     int ld_errno;
00258     PCHAR ld_matched;
00259     PCHAR ld_error;
00260 } LDAP, *PLDAP;
00261 typedef struct ldapmsg {
00262     ULONG lm_msgid;
00263     ULONG lm_msgtype;
00264     BerElement *lm_ber;
00265     struct ldapmsg *lm_chain;
00266     struct ldapmsg *lm_next;
00267     ULONG lm_time;
00268 } LDAPMessage, *PLDAPMessage;
00269 typedef struct l_timeval {
00270     LONG tv_sec;
00271     LONG tv_usec;
00272 } LDAP_TIMEVAL, *PLDAP_TIMEVAL;
00273 typedef struct ldapapiinfoA {
00274     int ldapai_info_version;
00275     int ldapai_api_version;
00276     int ldapai_protocol_version;
00277     char **ldapai_extensions;
00278     char *ldapai_vendor_name;
00279     int ldapai_vendor_version;
00280 } LDAPAPIInfoA, *PLDAPAPIInfoA;
00281 typedef struct ldapapiinfoW {
00282     int ldapai_info_version;
00283     int ldapai_api_version;
00284     int ldapai_protocol_version;
00285     PWCHAR *ldapai_extensions;
00286     PWCHAR ldapai_vendor_name;
00287     int ldapai_vendor_version;
00288 } LDAPAPIInfoW, *PLDAPAPIInfoW;
00289 typedef struct ldap_apifeature_infoA {
00290     int ldapaif_info_version;
00291     char *ldapaif_name;
00292     int ldapaif_version;
00293 } LDAPAPIFeatureInfoA, *PLDAPAPIFeatureInfoA;
00294 typedef struct ldap_apifeature_infoW {
00295     int ldapaif_info_version;
00296     PWCHAR ldapaif_name;
00297     int ldapaif_version;
00298 } LDAPAPIFeatureInfoW, *PLDAPAPIFeatureInfoW;
00299 typedef struct ldapcontrolA {
00300     PCHAR ldctl_oid;
00301     BerValue ldctl_value;
00302     BOOLEAN ldctl_iscritical;
00303 } LDAPControlA, *PLDAPControlA;
00304 typedef struct ldapcontrolW {
00305     PWCHAR ldctl_oid;
00306     BerValue ldctl_value;
00307     BOOLEAN ldctl_iscritical;
00308 } LDAPControlW, *PLDAPControlW;
00309 typedef union mod_vals_uA {
00310     PCHAR *modv_strvals;
00311     BerValue **modv_bvals;
00312 } mod_vals_u_tA;
00313 typedef union mod_vals_uW {
00314     PWCHAR *modv_strvals;
00315     BerValue **modv_bvals;
00316 } mod_vals_u_tW;
00317 typedef struct ldapmodA {
00318     ULONG mod_op;
00319     PCHAR mod_type;
00320     mod_vals_u_tA mod_vals;
00321 } LDAPModA, *PLDAPModA;
00322 typedef struct ldapmodW {
00323     ULONG mod_op;
00324     PWCHAR mod_type;
00325     mod_vals_u_tW mod_vals;
00326 } LDAPModW, *PLDAPModW;
00327 
00328 #define mod_values      mod_vals.modv_strvals
00329 #define mod_bvalues     mod_vals.modv_bvals
00330 
00331 typedef struct ldapsearch LDAPSearch, *PLDAPSearch;
00332 typedef struct ldapsortkeyA {
00333     PCHAR sk_attrtype;
00334     PCHAR sk_matchruleoid;
00335     BOOLEAN sk_reverseorder;
00336 } LDAPSortKeyA, *PLDAPSortKeyA;
00337 typedef struct ldapsortkeyW {
00338     PWCHAR sk_attrtype;
00339     PWCHAR sk_matchruleoid;
00340     BOOLEAN sk_reverseorder;
00341 } LDAPSortKeyW, *PLDAPSortKeyW;
00342 typedef ULONG (__cdecl QUERYFORCONNECTION)(PLDAP,PLDAP,PWCHAR,PCHAR,ULONG,PVOID,PVOID,PLDAP*);
00343 typedef BOOLEAN (__cdecl NOTIFYOFNEWCONNECTION)(PLDAP,PLDAP,PWCHAR,PCHAR,PLDAP,ULONG,PVOID,PVOID,ULONG);
00344 typedef ULONG (__cdecl DEREFERENCECONNECTION)(PLDAP,PLDAP);
00345 typedef BOOLEAN (__cdecl QUERYCLIENTCERT)(PLDAP,PSecPkgContext_IssuerListInfoEx,PCCERT_CONTEXT*);
00346 typedef struct LdapReferralCallback {
00347     ULONG SizeOfCallbacks;
00348     QUERYFORCONNECTION *QueryForConnection;
00349     NOTIFYOFNEWCONNECTION *NotifyRoutine;
00350     DEREFERENCECONNECTION *DereferenceRoutine;
00351 } LDAP_REFERRAL_CALLBACK, *PLDAP_REFERRAL_CALLBACK;
00352 typedef struct ldapvlvinfo {
00353     int ldvlv_version;
00354     unsigned long ldvlv_before_count;
00355     unsigned long ldvlv_after_count;
00356     unsigned long ldvlv_offset;
00357     unsigned long ldvlv_count;
00358     BerValue *ldvlv_attrvalue;
00359     BerValue *ldvlv_context;
00360     void *ldvlv_extradata;
00361 } LDAPVLVInfo;
00362 
00363 /*
00364  * Under Microsoft WinLDAP the function ldap_error is only stub.
00365  * This macro uses LDAP structure to get error string and pass it to the user.
00366  */
00367 #define ldap_perror(handle,message) printf("%s: %s\n", message, handle->ld_error);
00368 
00369 WINLDAPAPI PLDAP ldap_initA(PCHAR,ULONG);
00370 WINLDAPAPI PLDAP ldap_initW(PWCHAR,ULONG);
00371 WINLDAPAPI PLDAP ldap_openA(const PCHAR,ULONG);
00372 WINLDAPAPI PLDAP ldap_openW(const PWCHAR,ULONG);
00373 WINLDAPAPI PLDAP cldap_openA(const PCHAR,ULONG);
00374 WINLDAPAPI PLDAP cldap_openW(const PWCHAR,ULONG);
00375 WINLDAPAPI ULONG ldap_connect(LDAP*,struct l_timeval*);
00376 WINLDAPAPI PLDAP ldap_sslinitA(PCHAR,ULONG,int);
00377 WINLDAPAPI PLDAP ldap_sslinitW(PWCHAR,ULONG,int);
00378 WINLDAPAPI ULONG ldap_start_tls_sA(LDAP*,PLDAPControlA*,PLDAPControlA*);
00379 WINLDAPAPI ULONG ldap_start_tls_sW(LDAP*,PLDAPControlW*,PLDAPControlW*);
00380 WINLDAPAPI BOOLEAN ldap_stop_tls_s(LDAP*);
00381 WINLDAPAPI ULONG ldap_get_optionA(LDAP*,int,void*);
00382 WINLDAPAPI ULONG ldap_get_optionW(LDAP*,int,void*);
00383 WINLDAPAPI ULONG ldap_set_optionA(LDAP*,int,const void*);
00384 WINLDAPAPI ULONG ldap_set_optionW(LDAP*,int,const void*);
00385 WINLDAPAPI ULONG ldap_control_freeA(LDAPControlA*);
00386 WINLDAPAPI ULONG ldap_control_freeW(LDAPControlW*);
00387 WINLDAPAPI ULONG ldap_controls_freeA(LDAPControlA**);
00388 WINLDAPAPI ULONG ldap_controls_freeW(LDAPControlW**);
00389 WINLDAPAPI ULONG ldap_free_controlsA(LDAPControlA**);
00390 WINLDAPAPI ULONG ldap_free_controlsW(LDAPControlW**);
00391 WINLDAPAPI ULONG ldap_sasl_bindA(LDAP*,const PCHAR, const PCHAR,const BERVAL*,PLDAPControlA*,PLDAPControlA*,int*);
00392 WINLDAPAPI ULONG ldap_sasl_bindW(LDAP*,const PWCHAR, const PWCHAR,const BERVAL*,PLDAPControlW*,PLDAPControlW*,int*);
00393 WINLDAPAPI ULONG ldap_sasl_bind_sA(LDAP*,const PCHAR,const PCHAR,const BERVAL*,PLDAPControlA*,PLDAPControlA*,PBERVAL*);
00394 WINLDAPAPI ULONG ldap_sasl_bind_sW(LDAP*,const PWCHAR,const PWCHAR,const BERVAL*,PLDAPControlW*,PLDAPControlW*,PBERVAL*);
00395 WINLDAPAPI ULONG ldap_simple_bindA(LDAP*,const PCHAR,const PCHAR);
00396 WINLDAPAPI ULONG ldap_simple_bindW(LDAP*,const PWCHAR,const PCHAR);
00397 WINLDAPAPI ULONG ldap_simple_bind_sA(LDAP*,const PCHAR,const PCHAR);
00398 WINLDAPAPI ULONG ldap_simple_bind_sW(LDAP*,const PWCHAR,const PCHAR);
00399 WINLDAPAPI ULONG ldap_bindA(LDAP*,const PCHAR,const PCHAR,ULONG) _WINLDAP_DEPRECATED;
00400 WINLDAPAPI ULONG ldap_bindW(LDAP*,const PWCHAR,const PCHAR,ULONG) _WINLDAP_DEPRECATED;
00401 WINLDAPAPI ULONG ldap_bind_sA(LDAP*,const PCHAR,const PCHAR,ULONG) _WINLDAP_DEPRECATED;
00402 WINLDAPAPI ULONG ldap_bind_sW(LDAP*,const PWCHAR,const PCHAR,ULONG) _WINLDAP_DEPRECATED;
00403 WINLDAPAPI ULONG ldap_unbind(LDAP*);
00404 WINLDAPAPI ULONG ldap_unbind_s(LDAP*);
00405 WINLDAPAPI ULONG ldap_search_extA(LDAP*,const PCHAR,ULONG,const PCHAR,PCHAR[],ULONG,PLDAPControlW*,PLDAPControlW*,ULONG,ULONG,ULONG*);
00406 WINLDAPAPI ULONG ldap_search_extW(LDAP*,const PWCHAR,ULONG,const PWCHAR,PWCHAR[],ULONG,PLDAPControlW*,PLDAPControlW*,ULONG,ULONG,ULONG*);
00407 WINLDAPAPI ULONG ldap_search_ext_sA(LDAP*,const PCHAR,ULONG,const PCHAR,PCHAR[],ULONG,PLDAPControlA*,PLDAPControlA*,struct l_timeval*,ULONG,LDAPMessage**);
00408 WINLDAPAPI ULONG ldap_search_ext_sW(LDAP*,const PWCHAR,ULONG,const PWCHAR,PWCHAR[],ULONG,PLDAPControlW*,PLDAPControlW*,struct l_timeval*,ULONG,LDAPMessage**);
00409 WINLDAPAPI ULONG ldap_searchA(LDAP*,const PCHAR,ULONG,const PCHAR,PCHAR[],ULONG);
00410 WINLDAPAPI ULONG ldap_searchW(LDAP*,const PWCHAR,ULONG,const PWCHAR,PWCHAR[],ULONG);
00411 WINLDAPAPI ULONG ldap_search_sA(LDAP*,const PCHAR,ULONG,const PCHAR,PCHAR[],ULONG,LDAPMessage**);
00412 WINLDAPAPI ULONG ldap_search_sW(LDAP*,const PWCHAR,ULONG,const PWCHAR,PWCHAR[],ULONG,LDAPMessage**);
00413 WINLDAPAPI ULONG ldap_search_stA(LDAP*,const PCHAR,ULONG,const PCHAR,PCHAR[],ULONG,struct l_timeval*,LDAPMessage**);
00414 WINLDAPAPI ULONG ldap_search_stW(LDAP*,const PWCHAR,ULONG,const PWCHAR,PWCHAR[],ULONG,struct l_timeval*,LDAPMessage**);
00415 WINLDAPAPI ULONG ldap_compare_extA(LDAP*,const PCHAR,const PCHAR,PCHAR,struct berval*,PLDAPControlA*,PLDAPControlA*,ULONG*);
00416 WINLDAPAPI ULONG ldap_compare_extW(LDAP*,const PWCHAR,const PWCHAR,PWCHAR,struct berval*,PLDAPControlW*,PLDAPControlW*,ULONG*);
00417 WINLDAPAPI ULONG ldap_compare_ext_sA(LDAP*,const PCHAR,const PCHAR,const PCHAR,struct berval*,PLDAPControlA*,PLDAPControlA*);
00418 WINLDAPAPI ULONG ldap_compare_ext_sW(LDAP*,const PWCHAR,const PWCHAR,const PWCHAR,struct berval*,PLDAPControlW*,PLDAPControlW*);
00419 WINLDAPAPI ULONG ldap_compareA(LDAP*,const PCHAR,const PCHAR,PCHAR);
00420 WINLDAPAPI ULONG ldap_compareW(LDAP*,const PWCHAR,const PWCHAR,PWCHAR);
00421 WINLDAPAPI ULONG ldap_compare_sA(LDAP*,const PCHAR,const PCHAR,PCHAR);
00422 WINLDAPAPI ULONG ldap_compare_sW(LDAP*,const PWCHAR,const PWCHAR,PWCHAR);
00423 WINLDAPAPI ULONG ldap_modify_extA(LDAP*,const PCHAR,LDAPModA*[],PLDAPControlA*,PLDAPControlA*,ULONG*);
00424 WINLDAPAPI ULONG ldap_modify_extW(LDAP*,const PWCHAR,LDAPModW*[],PLDAPControlW*,PLDAPControlW*,ULONG*);
00425 WINLDAPAPI ULONG ldap_modify_ext_sA(LDAP*,const PCHAR,LDAPModA*[],PLDAPControlA*,PLDAPControlA*);
00426 WINLDAPAPI ULONG ldap_modify_ext_sW(LDAP*,const PWCHAR,LDAPModW*[],PLDAPControlW*,PLDAPControlW*);
00427 WINLDAPAPI ULONG ldap_modifyA(LDAP*,const PCHAR,LDAPModA*[]);
00428 WINLDAPAPI ULONG ldap_modifyW(LDAP*,const PWCHAR,LDAPModW*[]);
00429 WINLDAPAPI ULONG ldap_modify_sA(LDAP*,const PCHAR,LDAPModA*[]);
00430 WINLDAPAPI ULONG ldap_modify_sW(LDAP*,const PWCHAR,LDAPModW*[]);
00431 WINLDAPAPI ULONG ldap_rename_extA(LDAP*,const PCHAR,const PCHAR,const PCHAR,INT,PLDAPControlA*,PLDAPControlA*,ULONG*);
00432 WINLDAPAPI ULONG ldap_rename_extW(LDAP*,const PWCHAR,const PWCHAR,const PWCHAR,INT,PLDAPControlW*,PLDAPControlW*,ULONG*);
00433 WINLDAPAPI ULONG ldap_rename_ext_sA(LDAP*,const PCHAR,const PCHAR,const PCHAR,INT,PLDAPControlA*,PLDAPControlA*);
00434 WINLDAPAPI ULONG ldap_rename_ext_sW(LDAP*,const PWCHAR,const PWCHAR,const PWCHAR,INT,PLDAPControlW*,PLDAPControlW*);
00435 WINLDAPAPI ULONG ldap_modrdnA(LDAP*,PCHAR,PCHAR) _WINLDAP_DEPRECATED;
00436 WINLDAPAPI ULONG ldap_modrdnW(LDAP*,PWCHAR,PWCHAR) _WINLDAP_DEPRECATED;
00437 WINLDAPAPI ULONG ldap_modrdn_sA(LDAP*,PCHAR,PCHAR) _WINLDAP_DEPRECATED;
00438 WINLDAPAPI ULONG ldap_modrdn_sW(LDAP*,PWCHAR,PWCHAR) _WINLDAP_DEPRECATED;
00439 WINLDAPAPI ULONG ldap_modrdn2A(LDAP*,PCHAR,PCHAR,INT) _WINLDAP_DEPRECATED;
00440 WINLDAPAPI ULONG ldap_modrdn2W(LDAP*,PWCHAR,PWCHAR,INT) _WINLDAP_DEPRECATED;
00441 WINLDAPAPI ULONG ldap_modrdn2_sA(LDAP*,PCHAR,PCHAR,INT) _WINLDAP_DEPRECATED;
00442 WINLDAPAPI ULONG ldap_modrdn2_sW(LDAP*,PWCHAR,PWCHAR,INT) _WINLDAP_DEPRECATED;
00443 WINLDAPAPI ULONG ldap_add_extA(LDAP*,const PCHAR,LDAPModA*[],PLDAPControlA*,PLDAPControlA*,ULONG*);
00444 WINLDAPAPI ULONG ldap_add_extW(LDAP*,const PWCHAR,LDAPModW*[],PLDAPControlW*,PLDAPControlW*,ULONG*);
00445 WINLDAPAPI ULONG ldap_add_ext_sA(LDAP*,const PCHAR,LDAPModA*[],PLDAPControlA*,PLDAPControlA*);
00446 WINLDAPAPI ULONG ldap_add_ext_sW(LDAP*,const PWCHAR,LDAPModW*[],PLDAPControlW*,PLDAPControlW*);
00447 WINLDAPAPI ULONG ldap_addA(LDAP*,const PCHAR,LDAPModA*[]);
00448 WINLDAPAPI ULONG ldap_addW(LDAP*,const PWCHAR,LDAPModW*[]);
00449 WINLDAPAPI ULONG ldap_add_sA(LDAP*,const PCHAR,LDAPModA*[]);
00450 WINLDAPAPI ULONG ldap_add_sW(LDAP*,const PWCHAR,LDAPModW*[]);
00451 WINLDAPAPI ULONG ldap_delete_extA(LDAP*,const PCHAR,PLDAPControlA*,PLDAPControlA*,ULONG*);
00452 WINLDAPAPI ULONG ldap_delete_extW(LDAP*,const PWCHAR,PLDAPControlW*,PLDAPControlW*,ULONG*);
00453 WINLDAPAPI ULONG ldap_delete_ext_sA(LDAP*,const PCHAR,PLDAPControlA*,PLDAPControlA*);
00454 WINLDAPAPI ULONG ldap_delete_ext_sW(LDAP*,const PWCHAR,PLDAPControlW*,PLDAPControlW*);
00455 WINLDAPAPI ULONG ldap_deleteA(LDAP*,const PCHAR);
00456 WINLDAPAPI ULONG ldap_deleteW(LDAP*,const PWCHAR);
00457 WINLDAPAPI ULONG ldap_delete_sA(LDAP*,const PCHAR);
00458 WINLDAPAPI ULONG ldap_delete_sW(LDAP*,const PWCHAR);
00459 WINLDAPAPI ULONG ldap_extended_operationA(LDAP*,const PCHAR,const struct berval*,PLDAPControlA*,PLDAPControlA*,ULONG*);
00460 WINLDAPAPI ULONG ldap_extended_operationW(LDAP*,const PWCHAR,const struct berval*,PLDAPControlW*,PLDAPControlW*,ULONG*);
00461 WINLDAPAPI ULONG ldap_extended_operation_sA(LDAP*,const PCHAR,const struct berval*,PLDAPControlA*,PLDAPControlA*,PCHAR*,struct berval**);
00462 WINLDAPAPI ULONG ldap_extended_operation_sW(LDAP*,const PWCHAR,const struct berval*,PLDAPControlW*,PLDAPControlW*,PWCHAR*,struct berval**);
00463 WINLDAPAPI ULONG ldap_close_extended_op(LDAP*,ULONG);
00464 WINLDAPAPI ULONG ldap_abandon(LDAP*,ULONG);
00465 WINLDAPAPI ULONG ldap_result(LDAP*,ULONG,ULONG,struct l_timeval*,LDAPMessage**);
00466 WINLDAPAPI ULONG ldap_msgfree(LDAPMessage*);
00467 WINLDAPAPI ULONG ldap_parse_resultA(LDAP*,LDAPMessage*,ULONG*,PCHAR*,PCHAR*,PCHAR**,PLDAPControlA**,BOOLEAN);
00468 WINLDAPAPI ULONG ldap_parse_resultW(LDAP*,LDAPMessage*,ULONG*,PWCHAR*,PWCHAR*,PWCHAR**,PLDAPControlW**,BOOLEAN);
00469 WINLDAPAPI ULONG ldap_parse_extended_resultA(LDAP,LDAPMessage*,PCHAR*,struct berval**,BOOLEAN);
00470 WINLDAPAPI ULONG ldap_parse_extended_resultW(LDAP,LDAPMessage*,PWCHAR*,struct berval**,BOOLEAN);
00471 WINLDAPAPI PCHAR ldap_err2stringA(ULONG);
00472 WINLDAPAPI PWCHAR ldap_err2stringW(ULONG);
00473 WINLDAPAPI ULONG LdapGetLastError(void);
00474 WINLDAPAPI ULONG LdapMapErrorToWin32(ULONG);
00475 WINLDAPAPI ULONG ldap_result2error(LDAP*,LDAPMessage*,ULONG);
00476 WINLDAPAPI PLDAPMessage ldap_first_entry(LDAP*,LDAPMessage*);
00477 WINLDAPAPI PLDAPMessage ldap_next_entry(LDAP*,LDAPMessage*);
00478 WINLDAPAPI PLDAPMessage ldap_first_reference(LDAP*,LDAPMessage*);
00479 WINLDAPAPI PLDAPMessage ldap_next_reference(LDAP*,LDAPMessage*);
00480 WINLDAPAPI ULONG ldap_count_entries(LDAP*,LDAPMessage*);
00481 WINLDAPAPI ULONG ldap_count_references(LDAP*,LDAPMessage*);
00482 WINLDAPAPI PCHAR ldap_first_attributeA(LDAP*,LDAPMessage*,BerElement**);
00483 WINLDAPAPI PWCHAR ldap_first_attributeW(LDAP*,LDAPMessage*,BerElement**);
00484 WINLDAPAPI PCHAR ldap_next_attributeA(LDAP*,LDAPMessage*,BerElement*);
00485 WINLDAPAPI PWCHAR ldap_next_attributeW(LDAP*,LDAPMessage*,BerElement*);
00486 WINLDAPAPI VOID ldap_memfreeA(PCHAR);
00487 WINLDAPAPI VOID ldap_memfreeW(PWCHAR);
00488 WINLDAPAPI PCHAR* ldap_get_valuesA(LDAP*,LDAPMessage*,const PCHAR);
00489 WINLDAPAPI PWCHAR* ldap_get_valuesW(LDAP*,LDAPMessage*,const PWCHAR);
00490 WINLDAPAPI BerValue** ldap_get_values_lenA(LDAP*,LDAPMessage*,const PCHAR);
00491 WINLDAPAPI BerValue** ldap_get_values_lenW(LDAP*,LDAPMessage*,const PWCHAR);
00492 WINLDAPAPI ULONG ldap_count_valuesA(PCHAR*);
00493 WINLDAPAPI ULONG ldap_count_valuesW(PWCHAR*);
00494 WINLDAPAPI ULONG ldap_count_values_len(struct berval**);
00495 WINLDAPAPI ULONG ldap_value_freeA(PCHAR*);
00496 WINLDAPAPI ULONG ldap_value_freeW(PWCHAR*);
00497 WINLDAPAPI ULONG ldap_value_free_len(struct berval**);
00498 WINLDAPAPI PCHAR ldap_get_dnA(LDAP*,LDAPMessage*);
00499 WINLDAPAPI PWCHAR ldap_get_dnW(LDAP*,LDAPMessage*);
00500 WINLDAPAPI PCHAR ldap_explode_dnA(PCHAR,ULONG);
00501 WINLDAPAPI PWCHAR ldap_explode_dnW(PWCHAR,ULONG);
00502 WINLDAPAPI PCHAR ldap_dn2ufnA(PCHAR);
00503 WINLDAPAPI PWCHAR ldap_dn2ufnW(PWCHAR);
00504 WINLDAPAPI ULONG ldap_ufn2dnA(const PCHAR,PCHAR*);
00505 WINLDAPAPI ULONG ldap_ufn2dnW(const PWCHAR,PWCHAR*);
00506 WINLDAPAPI ULONG ldap_parse_referenceA(LDAP*,LDAPMessage*,PCHAR**);
00507 WINLDAPAPI ULONG ldap_parse_referenceW(LDAP*,LDAPMessage*,PWCHAR**);
00508 WINLDAPAPI ULONG ldap_check_filterA(LDAP*,PCHAR);
00509 WINLDAPAPI ULONG ldap_check_filterW(LDAP*,PWCHAR);
00510 WINLDAPAPI ULONG ldap_create_page_controlA(PLDAP,ULONG,struct berval*,UCHAR,PLDAPControlA*);
00511 WINLDAPAPI ULONG ldap_create_page_controlW(PLDAP,ULONG,struct berval*,UCHAR,PLDAPControlW*);
00512 WINLDAPAPI ULONG ldap_create_sort_controlA(PLDAP,PLDAPSortKeyA*,UCHAR,PLDAPControlA*);
00513 WINLDAPAPI ULONG ldap_create_sort_controlW(PLDAP,PLDAPSortKeyW*,UCHAR,PLDAPControlW*);
00514 WINLDAPAPI INT ldap_create_vlv_controlA(LDAP*,LDAPVLVInfo*,UCHAR,LDAPControlA**);
00515 WINLDAPAPI INT ldap_create_vlv_controlW(LDAP*,LDAPVLVInfo*,UCHAR,LDAPControlW**);
00516 WINLDAPAPI ULONG ldap_encode_sort_controlA(PLDAP,PLDAPSortKeyA*,PLDAPControlA,BOOLEAN);
00517 WINLDAPAPI ULONG ldap_encode_sort_controlW(PLDAP,PLDAPSortKeyW*,PLDAPControlW,BOOLEAN);
00518 WINLDAPAPI ULONG ldap_escape_filter_elementA(PCHAR,ULONG,PCHAR,ULONG);
00519 WINLDAPAPI ULONG ldap_escape_filter_elementW(PWCHAR,ULONG,PWCHAR,ULONG);
00520 WINLDAPAPI ULONG ldap_get_next_page(PLDAP,PLDAPSearch,ULONG,ULONG*);
00521 WINLDAPAPI ULONG ldap_get_next_page_s(PLDAP,PLDAPSearch,struct l_timeval*,ULONG,ULONG*,LDAPMessage**);
00522 WINLDAPAPI ULONG ldap_get_paged_count(PLDAP,PLDAPSearch,ULONG*,PLDAPMessage);
00523 WINLDAPAPI ULONG ldap_parse_page_controlA(PLDAP,PLDAPControlA*,ULONG*,struct berval**);
00524 WINLDAPAPI ULONG ldap_parse_page_controlW(PLDAP,PLDAPControlW*,ULONG*,struct berval**);
00525 WINLDAPAPI ULONG ldap_parse_sort_controlA(PLDAP,PLDAPControlA*,ULONG*,PCHAR*);
00526 WINLDAPAPI ULONG ldap_parse_sort_controlW(PLDAP,PLDAPControlW*,ULONG*,PWCHAR*);
00527 WINLDAPAPI INT ldap_parse_vlv_controlA(LDAP*,LDAPControlA**,unsigned long*,unsigned long*,struct berval**,int*);
00528 WINLDAPAPI INT ldap_parse_vlv_controlW(LDAP*,LDAPControlW**,unsigned long*,unsigned long*,struct berval**,int*);
00529 WINLDAPAPI PLDAPSearch ldap_search_init_pageA(PLDAP,const PCHAR,ULONG,const PCHAR,PCHAR[],ULONG,PLDAPControlA*,PLDAPControlA*,ULONG,ULONG,PLDAPSortKeyA*);
00530 WINLDAPAPI PLDAPSearch ldap_search_init_pageW(PLDAP,const PWCHAR,ULONG,const PWCHAR,PWCHAR[],ULONG,PLDAPControlW*,PLDAPControlW*,ULONG,ULONG,PLDAPSortKeyW*);
00531 WINLDAPAPI ULONG ldap_search_abandon_page(PLDAP,PLDAPSearch);
00532 WINLDAPAPI LDAP ldap_conn_from_msg(LDAP*,LDAPMessage*);
00533 WINLDAPAPI INT LdapUnicodeToUTF8(LPCWSTR,int,LPSTR,int);
00534 WINLDAPAPI INT LdapUTF8ToUnicode(LPCSTR,int,LPWSTR,int);
00535 
00536 #if UNICODE
00537 #define LDAPControl LDAPControlW
00538 #define PLDAPControl PLDAPControlW
00539 #define LDAPMod LDAPModW
00540 #define PLDAPMod LDAPModW
00541 #define LDAPSortKey LDAPSortKeyW
00542 #define PLDAPSortKey PLDAPSortKeyW
00543 #define LDAPAPIInfo LDAPAPIInfoW
00544 #define PLDAPAPIInfo PLDAPAPIInfoW
00545 #define LDAPAPIFeatureInfo LDAPAPIFeatureInfoW
00546 #define PLDAPAPIFeatureInfo PLDAPAPIFeatureInfoW
00547 #define cldap_open cldap_openW
00548 #define ldap_open ldap_openW
00549 #define ldap_bind ldap_bindW
00550 #define ldap_bind_s ldap_bind_sW
00551 #define ldap_simple_bind ldap_simple_bindW
00552 #define ldap_simple_bind_s ldap_simple_bind_sW
00553 #define ldap_sasl_bind ldap_sasl_bindW
00554 #define ldap_sasl_bind_s ldap_sasl_bind_sW
00555 #define ldap_init ldap_initW
00556 #define ldap_sslinit ldap_sslinitW
00557 #define ldap_get_option ldap_get_optionW
00558 #define ldap_set_option ldap_set_optionW
00559 #define ldap_start_tls_s ldap_start_tls_sW
00560 #define ldap_add ldap_addW
00561 #define ldap_add_ext ldap_add_extW
00562 #define ldap_add_s ldap_add_sW
00563 #define ldap_add_ext_s ldap_add_ext_sW
00564 #define ldap_compare ldap_compareW
00565 #define ldap_compare_ext ldap_compare_extW
00566 #define ldap_compare_s ldap_compare_sW
00567 #define ldap_compare_ext_s ldap_compare_ext_sW
00568 #define ldap_delete ldap_deleteW
00569 #define ldap_delete_ext ldap_delete_extW
00570 #define ldap_delete_s ldap_delete_sW
00571 #define ldap_delete_ext_s ldap_delete_ext_sW
00572 #define ldap_extended_operation_s ldap_extended_operation_sW
00573 #define ldap_extended_operation ldap_extended_operationW
00574 #define ldap_modify ldap_modifyW
00575 #define ldap_modify_ext ldap_modify_extW
00576 #define ldap_modify_s ldap_modify_sW
00577 #define ldap_modify_ext_s ldap_modify_ext_sW
00578 #define ldap_check_filter ldap_check_filterW
00579 #define ldap_count_values ldap_count_valuesW
00580 #define ldap_create_page_control ldap_create_page_controlW
00581 #define ldap_create_sort_control ldap_create_sort_controlW
00582 #define ldap_create_vlv_control ldap_create_vlv_controlW
00583 #define ldap_encode_sort_control ldap_encode_sort_controlW
00584 #define ldap_escape_filter_element ldap_escape_filter_elementW
00585 #define ldap_first_attribute ldap_first_attributeW
00586 #define ldap_next_attribute ldap_next_attributeW
00587 #define ldap_get_values ldap_get_valuesW
00588 #define ldap_get_values_len ldap_get_values_lenW
00589 #define ldap_parse_extended_result ldap_parse_extended_resultW
00590 #define ldap_parse_page_control ldap_parse_page_controlW
00591 #define ldap_parse_reference ldap_parse_referenceW
00592 #define ldap_parse_result ldap_parse_resultW
00593 #define ldap_parse_sort_control ldap_parse_sort_controlW
00594 #define ldap_parse_vlv_control ldap_parse_vlv_controlW
00595 #define ldap_search ldap_searchW
00596 #define ldap_search_s ldap_search_sW
00597 #define ldap_search_st ldap_search_stW
00598 #define ldap_search_ext ldap_search_extW
00599 #define ldap_search_ext_s ldap_search_ext_sW
00600 #define ldap_search_init_page ldap_search_init_pageW
00601 #define ldap_err2string ldap_err2stringW
00602 #define ldap_control_free ldap_control_freeW
00603 #define ldap_controls_free ldap_controls_freeW
00604 #define ldap_free_controls ldap_free_controlsW
00605 #define ldap_memfree ldap_memfreeW
00606 #define ldap_value_free ldap_value_freeW
00607 #define ldap_dn2ufn ldap_dn2ufnW
00608 #define ldap_ufn2dn ldap_ufn2dnW
00609 #define ldap_explode_dn ldap_explode_dnW
00610 #define ldap_get_dn ldap_get_dnW
00611 #define ldap_modrdn ldap_modrdnW
00612 #define ldap_modrdn_s ldap_modrdn_sW
00613 #define ldap_modrdn2 ldap_modrdn2W
00614 #define ldap_modrdn2_s ldap_modrdn2_sW
00615 #define ldap_rename ldap_rename_extW
00616 #define ldap_rename_s ldap_rename_ext_sW
00617 #define ldap_rename_ext ldap_rename_extW
00618 #define ldap_rename_ext_s ldap_rename_ext_sW
00619 #else
00620 #define LDAPControl LDAPControlA
00621 #define PLDAPControl PLDAPControlA
00622 #define LDAPMod LDAPModA
00623 #define PLDAPMod LDAPModA
00624 #define LDAPSortKey LDAPSortKeyA
00625 #define PLDAPSortKey PLDAPSortKeyA
00626 #define LDAPAPIInfo LDAPAPIInfoA
00627 #define PLDAPAPIInfo PLDAPAPIInfoA
00628 #define LDAPAPIFeatureInfo LDAPAPIFeatureInfoA
00629 #define PLDAPAPIFeatureInfo PLDAPAPIFeatureInfoA
00630 #define cldap_open cldap_openA
00631 #define ldap_open ldap_openA
00632 #define ldap_bind ldap_bindA
00633 #define ldap_bind_s ldap_bind_sA
00634 #define ldap_simple_bind ldap_simple_bindA
00635 #define ldap_simple_bind_s ldap_simple_bind_sA
00636 #define ldap_sasl_bind ldap_sasl_bindA
00637 #define ldap_sasl_bind_s ldap_sasl_bind_sA
00638 #define ldap_init ldap_initA
00639 #define ldap_sslinit ldap_sslinitA
00640 #define ldap_get_option ldap_get_optionA
00641 #define ldap_set_option ldap_set_optionA
00642 #define ldap_start_tls_s ldap_start_tls_sA
00643 #define ldap_add ldap_addA
00644 #define ldap_add_ext ldap_add_extA
00645 #define ldap_add_s ldap_add_sA
00646 #define ldap_add_ext_s ldap_add_ext_sA
00647 #define ldap_compare ldap_compareA
00648 #define ldap_compare_ext ldap_compare_extA
00649 #define ldap_compare_s ldap_compare_sA
00650 #define ldap_compare_ext_s ldap_compare_ext_sA
00651 #define ldap_delete ldap_deleteA
00652 #define ldap_delete_ext ldap_delete_extA
00653 #define ldap_delete_s ldap_delete_sA
00654 #define ldap_delete_ext_s ldap_delete_ext_sA
00655 #define ldap_extended_operation_s ldap_extended_operation_sA
00656 #define ldap_extended_operation ldap_extended_operationA
00657 #define ldap_modify ldap_modifyA
00658 #define ldap_modify_ext ldap_modify_extA
00659 #define ldap_modify_s ldap_modify_sA
00660 #define ldap_modify_ext_s ldap_modify_ext_sA
00661 #define ldap_check_filter ldap_check_filterA
00662 #define ldap_count_values ldap_count_valuesA
00663 #define ldap_create_page_control ldap_create_page_controlA
00664 #define ldap_create_sort_control ldap_create_sort_controlA
00665 #define ldap_create_vlv_control ldap_create_vlv_controlA
00666 #define ldap_encode_sort_control ldap_encode_sort_controlA
00667 #define ldap_escape_filter_element ldap_escape_filter_elementA
00668 #define ldap_first_attribute ldap_first_attributeA
00669 #define ldap_next_attribute ldap_next_attributeA
00670 #define ldap_get_values ldap_get_valuesA
00671 #define ldap_get_values_len ldap_get_values_lenA
00672 #define ldap_parse_extended_result ldap_parse_extended_resultA
00673 #define ldap_parse_page_control ldap_parse_page_controlA
00674 #define ldap_parse_reference ldap_parse_referenceA
00675 #define ldap_parse_result ldap_parse_resultA
00676 #define ldap_parse_sort_control ldap_parse_sort_controlA
00677 #define ldap_parse_vlv_control ldap_parse_vlv_controlA
00678 #define ldap_search ldap_searchA
00679 #define ldap_search_s ldap_search_sA
00680 #define ldap_search_st ldap_search_stA
00681 #define ldap_search_ext ldap_search_extA
00682 #define ldap_search_ext_s ldap_search_ext_sA
00683 #define ldap_search_init_page ldap_search_init_pageA
00684 #define ldap_err2string ldap_err2stringA
00685 #define ldap_control_free ldap_control_freeA
00686 #define ldap_controls_free ldap_controls_freeA
00687 #define ldap_free_controls ldap_free_controlsA
00688 #define ldap_memfree ldap_memfreeA
00689 #define ldap_value_free ldap_value_freeA
00690 #define ldap_dn2ufn ldap_dn2ufnA
00691 #define ldap_ufn2dn ldap_ufn2dnA
00692 #define ldap_explode_dn ldap_explode_dnA
00693 #define ldap_get_dn ldap_get_dnA
00694 #define ldap_modrdn ldap_modrdnA
00695 #define ldap_modrdn_s ldap_modrdn_sA
00696 #define ldap_modrdn2 ldap_modrdn2A
00697 #define ldap_modrdn2_s ldap_modrdn2_sA
00698 #define ldap_rename ldap_rename_extA
00699 #define ldap_rename_s ldap_rename_ext_sA
00700 #define ldap_rename_ext ldap_rename_extA
00701 #define ldap_rename_ext_s ldap_rename_ext_sA
00702 #endif
00703 
00704 #ifdef __cplusplus
00705 }
00706 #endif
00707 
00708 #include <poppack.h>
00709 
00710 #endif /* _WINLDAP_H */

Generated on Sun May 27 2012 04:32:43 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.