]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/proto-slap.h
Fix portability issue.
[openldap] / servers / slapd / proto-slap.h
index bc0ac1db888bd6b494090fb17b90d130183beb39..c8b8ea2e341e64777a9154a4ea25d696bde1d736 100644 (file)
@@ -151,7 +151,8 @@ LDAP_SLAPD_F (BackendDB *) select_backend LDAP_P(( const char * dn ));
 
 LDAP_SLAPD_F (int) be_issuffix LDAP_P(( Backend *be, const char *suffix ));
 LDAP_SLAPD_F (int) be_isroot LDAP_P(( Backend *be, const char *ndn ));
-LDAP_SLAPD_F (int) be_isroot_pw LDAP_P(( Backend *be, const char *ndn, struct berval *cred ));
+LDAP_SLAPD_F (int) be_isroot_pw LDAP_P(( Backend *be,
+       Connection *conn, const char *ndn, struct berval *cred ));
 LDAP_SLAPD_F (char *) be_root_dn LDAP_P(( Backend *be ));
 LDAP_SLAPD_F (int) be_entry_release_rw LDAP_P(( Backend *be, Entry *e, int rw ));
 #define be_entry_release_r( be, e ) be_entry_release_rw( be, e, 0 )
@@ -541,7 +542,7 @@ LDAP_SLAPD_F (int) slap_sasl_close( Connection *c );
 LDAP_SLAPD_F (int) slap_sasl_bind LDAP_P((
        Connection *conn, Operation *op, 
        const char *dn, const char *ndn,
-       const char *mech, struct berval *cred,
+       struct berval *cred,
        char **edn, slap_ssf_t *ssf ));
 
 /* oc.c */
@@ -783,6 +784,9 @@ LDAP_SLAPD_F (int)          ldap_syslog;
 LDAP_SLAPD_F (char *)  default_search_base;
 LDAP_SLAPD_F (char *)  default_search_nbase;
 
+LDAP_SLAPD_F (int)             nSaslRegexp;
+LDAP_SLAPD_F (SaslRegexp_t*) SaslRegexp;
+
 LDAP_SLAPD_F (ldap_pvt_thread_mutex_t) num_sent_mutex;
 LDAP_SLAPD_F (long)            num_bytes_sent;
 LDAP_SLAPD_F (long)            num_pdu_sent;