From: Luke Howard Date: Mon, 3 Jan 2000 00:15:30 +0000 (+0000) Subject: Added ldap_pvt_sasl_bind() prototype to ldap_pvt.h. This X-Git-Tag: UCDATA_2_4~51 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=57b62dc7d4a847b55328ba7f4d97afda316f750f;p=openldap 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. --- diff --git a/include/ldap_pvt.h b/include/ldap_pvt.h index 8e21b5df7d..d1b48c1c2e 100644 --- a/include/ldap_pvt.h +++ b/include/ldap_pvt.h @@ -102,9 +102,13 @@ LIBLDAP_F (int) ldap_pvt_unhex( int c ); #ifdef HAVE_CYRUS_SASL /* sasl.c */ + +#include + 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 */ diff --git a/libraries/libldap/ldap-int.h b/libraries/libldap/ldap-int.h index eca39c573f..06914666c6 100644 --- a/libraries/libldap/ldap-int.h +++ b/libraries/libldap/ldap-int.h @@ -30,10 +30,6 @@ #include "ldap_pvt.h" -#ifdef HAVE_CYRUS_SASL -#include -#endif /* HAVE_CYRUS_SASL */ - LDAP_BEGIN_DECL #define LDAP_URL_PREFIX "ldap://"