mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-11 01:12:54 -05:00
Imported <ldap.h> in <ldap_pvt.h> so ldap_pvt_sasl_bind() has necessary
types. Changed const sasl_callback_t * to LDAP_CONST sasl_callback_t *.
This commit is contained in:
parent
b5e2ad7435
commit
5a0bbd7eed
2 changed files with 3 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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 )
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue