]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/proto-slap.h
Use a separate mutex for the replication timestamp
[openldap] / servers / slapd / proto-slap.h
index 86078658aededd4bc50bde737b5a5d7e1b894426..2334edef12d8f8cbb03ee820e5be9faeb0fbd7bc 100644 (file)
@@ -353,7 +353,7 @@ LDAP_SLAPD_F (long) connection_init LDAP_P((
        const char* peername,
        int use_tls,
        slap_ssf_t ssf,
-       const char *id ));
+       struct berval *id ));
 
 LDAP_SLAPD_F (void) connection_closing LDAP_P(( Connection *c ));
 LDAP_SLAPD_F (int) connection_state_closing LDAP_P(( Connection *c ));
@@ -913,6 +913,7 @@ LDAP_SLAPD_F (int) add_replica_suffix LDAP_P(( Backend *be,
 LDAP_SLAPD_F (int) add_replica_attrs LDAP_P(( Backend *be,
        int nr, char *attrs, int exclude ));
 LDAP_SLAPD_F (void) replog LDAP_P(( Operation *op ));
+LDAP_SLAPD_F (void) repstamp LDAP_P(( Operation *op ));
 
 /*
  * result.c
@@ -958,7 +959,7 @@ LDAP_SLAPD_F (char **) slap_sasl_mechs( Connection *c );
 
 LDAP_SLAPD_F (int) slap_sasl_external( Connection *c,
        slap_ssf_t ssf, /* relative strength of external security */
-       const char *authid );   /* asserted authenication id */
+       struct berval *authid );        /* asserted authenication id */
 
 LDAP_SLAPD_F (int) slap_sasl_reset( Connection *c );
 LDAP_SLAPD_F (int) slap_sasl_close( Connection *c );
@@ -989,7 +990,8 @@ LDAP_SLAPD_F (int) slap_parse_user LDAP_P((
 LDAP_SLAPD_F (void) slap_sasl2dn LDAP_P((
        Operation *op,
        struct berval *saslname,
-       struct berval *dn ));
+       struct berval *dn,
+       int flags ));
 LDAP_SLAPD_F (int) slap_sasl_authorized LDAP_P((
        Operation *op,
        struct berval *authcid,
@@ -1244,6 +1246,7 @@ LDAP_SLAPD_V (int)                        connection_pool_max;
 
 LDAP_SLAPD_V (ldap_pvt_thread_mutex_t) entry2str_mutex;
 LDAP_SLAPD_V (ldap_pvt_thread_mutex_t) replog_mutex;
+LDAP_SLAPD_V (ldap_pvt_thread_mutex_t) repstamp_mutex;
 
 #if defined( SLAPD_CRYPT ) || defined( SLAPD_SPASSWD )
 LDAP_SLAPD_V (ldap_pvt_thread_mutex_t) passwd_mutex;