]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/proto-slap.h
rm currenttime_mutex.
[openldap] / servers / slapd / proto-slap.h
index fad2d895b434e8809f2a126d56624e9567ceafa6..63457cad41136023bd64e9560b08d16e39f19e1a 100644 (file)
@@ -503,12 +503,24 @@ LDAP_SLAPD_F (int) add_replica_suffix LDAP_P(( Backend *be, int nr, const char *
 LDAP_SLAPD_F (void) replog LDAP_P(( Backend *be, Operation *op, char *dn, void *change ));
 
 /*
- * result.c
+ * referral.c
  */
+LDAP_SLAPD_F (int) validate_global_referral LDAP_P((
+       const char *url ));
 
 LDAP_SLAPD_F (struct berval **) get_entry_referrals LDAP_P((
        Backend *be, Connection *conn, Operation *op,
-       Entry *e ));
+       Entry *e, const char *target, int scope ));
+
+LDAP_SLAPD_F (struct berval **) referral_rewrite LDAP_P((
+       struct berval **refs,
+       const char *base,
+       const char *target,
+       int scope ));
+
+/*
+ * result.c
+ */
 
 LDAP_SLAPD_F (void) send_ldap_result LDAP_P((
        Connection *conn, Operation *op,
@@ -549,7 +561,7 @@ LDAP_SLAPD_F (void) send_search_result LDAP_P((
 
 LDAP_SLAPD_F (int) send_search_reference LDAP_P((
        Backend *be, Connection *conn, Operation *op,
-       Entry *e, struct berval **refs, int scope,
+       Entry *e, struct berval **refs,
        LDAPControl **ctrls,
        struct berval ***v2refs ));
 
@@ -608,6 +620,13 @@ LDAP_SLAPD_F (int) syn_schema_info( Entry *e );
  * schema.c
  */
 
+LDAP_SLAPD_F (void) oc_destroy LDAP_P(( void ));
+LDAP_SLAPD_F (void) at_destroy LDAP_P(( void ));
+LDAP_SLAPD_F (void) ad_destroy LDAP_P(( void * ));
+LDAP_SLAPD_F (void) mr_destroy LDAP_P(( void ));
+LDAP_SLAPD_F (void) syn_destroy LDAP_P(( void ));
+LDAP_SLAPD_F (void) schema_destroy LDAP_P(( void ));
+
 LDAP_SLAPD_F (ObjectClass *) oc_find LDAP_P((
        const char *ocname));
 
@@ -864,7 +883,8 @@ LDAP_SLAPD_F (char *)               slapd_args_file;
 LDAP_SLAPD_F (char)            **g_argv;
 LDAP_SLAPD_F (time_t)          starttime;
 
-LDAP_SLAPD_F (time_t) slap_get_time LDAP_P((void));
+/* use time(3) -- no mutex */
+#define slap_get_time()        time( NULL )
 
 LDAP_SLAPD_F (ldap_pvt_thread_pool_t)  connection_pool;