Added ldap_pvt_sasl_bind() prototype to ldap_pvt.h. This

required importing sasl.h into ldap_pvt.h, thus that import
was removed from ldap-int.h.
This commit is contained in:
Luke Howard 2000-01-03 00:15:30 +00:00
parent a1ccf169da
commit 57b62dc7d4
2 changed files with 4 additions and 4 deletions

View file

@ -102,9 +102,13 @@ LIBLDAP_F (int) ldap_pvt_unhex( int c );
#ifdef HAVE_CYRUS_SASL
/* sasl.c */
#include <sasl.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 ** ));
#endif /* HAVE_CYRUS_SASL */
/* search.c */

View file

@ -30,10 +30,6 @@
#include "ldap_pvt.h"
#ifdef HAVE_CYRUS_SASL
#include <sasl.h>
#endif /* HAVE_CYRUS_SASL */
LDAP_BEGIN_DECL
#define LDAP_URL_PREFIX "ldap://"