98
99
// Use the functions that are available on the platform
99
100
// or redirect to wrapper functions
101
#ifdef _WIN32_WCE //krazy:exclude=cpp allow as this is a non-Qt source file
101
102
# define win_ldap_init(a,b) \
102
103
my_win_ldap_initA ((a), (b))
103
104
# define win_ldap_simple_bind_s(a,b,c) \
104
105
my_win_ldap_simple_bind_sA ((a),(b),(c))
105
/* Contrary to documentation the sasl_bind functions
106
/* Contrary to documentation the sasl_bind functions
106
107
* are not availabe for wince
108
109
# define win_ldap_sasl_bind(a, b, c, d, e, f, g) \
139
140
#define win_ldap_rename_ext( a, b, c, d, e, f, g, h ) \
140
141
ldap_rename_extA((a), (b), (c), (d), (e), (f), (g), ( ( ulong * ) h) )
141
142
#define win_ldap_delete_ext( a, b, c, d, e ) \
142
ldap_delete_extA((a), (b), (c), (d), ( ( ulong* ) e) )
143
ldap_delete_extA((a), (b), (c), (d), ( ( ulong * ) e) )
143
144
#define win_ldap_modify_ext( a, b, c, d, e, f ) \
144
145
ldap_modify_extA( (a), (b), (c), (d), (e), ( ( ulong * ) f) )
145
146
#define win_ldap_modify_ext_s( a, b, c, d, e ) \
146
ldap_modify_ext_sA( (a), (b), (c), (d), (e) )
147
ldap_modify_ext_sA( (a), (b), (c), (d), (e) )
147
148
# define win_ldap_compare_ext(a, b, c, d, e, f, g) \
148
my_win_ldap_compare_extA((a), (b), (c), NULL, (d), (e), (f), ( ( ulong* ) g))
149
my_win_ldap_compare_extA((a), (b), (c), NULL, (d), (e), (f), ( ( ulong * ) g))
149
150
#define win_ldap_compare_ext_s(a, b, c, d, e, f) \
150
151
my_win_ldap_compare_ext_sA( (a), (b), (c), NULL, (d), (e), (f) )
151
152
#define win_ldap_abandon_ext(a, b, c, d) \