]> git.sur5r.net Git - openldap/commitdiff
Imported <ldap.h> in <ldap_pvt.h> so ldap_pvt_sasl_bind() has necessary
authorLuke Howard <lukeh@openldap.org>
Wed, 5 Jan 2000 12:56:17 +0000 (12:56 +0000)
committerLuke Howard <lukeh@openldap.org>
Wed, 5 Jan 2000 12:56:17 +0000 (12:56 +0000)
types. Changed const sasl_callback_t * to LDAP_CONST sasl_callback_t *.

include/ldap_pvt.h
libraries/libldap/sasl.c

index a6674d702768310895ca99ee8e506b3aed852ce4..f849375d1c4e8aad9ee84c1b09b75a12e04b4d5d 100644 (file)
@@ -109,11 +109,12 @@ LIBLDAP_F (int) ldap_pvt_unhex( int c );
 /* sasl.c */
 
 #include <sasl.h>
+#include <ldap.h> 
 
 LIBLDAP_F (int) ldap_pvt_sasl_init LDAP_P(( void )); /* clientside init */
 LIBLDAP_F (int) ldap_pvt_sasl_install LDAP_P(( Sockbuf *, void * ));
 LIBLDAP_F (int) ldap_pvt_sasl_err2ldap LDAP_P(( int ));
-LIBLDAP_F (int) ldap_pvt_sasl_bind LDAP_P(( LDAP *, LDAP_CONST char *, LDAP_CONST char *, const sasl_callback_t *, LDAPControl **, LDAPControl ** ));
+LIBLDAP_F (int) ldap_pvt_sasl_bind LDAP_P(( LDAP *, LDAP_CONST char *, LDAP_CONST char *, LDAP_CONST sasl_callback_t *, LDAPControl **, LDAPControl ** ));
 #endif /* HAVE_CYRUS_SASL */
 
 /* search.c */
index a5cfa17675ea81ffbd032230bc85a8c9a1307006..2d90e7a6bc0b2afe23eeadeb57b111914b39ac2e 100644 (file)
@@ -608,7 +608,7 @@ ldap_pvt_sasl_bind(
        LDAP                    *ld,
        LDAP_CONST char         *dn,
        LDAP_CONST char         *mechanism,
-       const sasl_callback_t   *callbacks,
+       LDAP_CONST sasl_callback_t      *callbacks,
        LDAPControl             **sctrls,
        LDAPControl             **cctrls )
 {