* repl.c
*/
LDAP_SLAPD_F (int) add_replica_info LDAP_P(( Backend *be, const char *host ));
+LDAP_SLAPD_F (int) add_replica_suffix LDAP_P(( Backend *be, int nr, const char *suffix ));
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,
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 ));
* 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));
struct berval *v1,
void *v2,
const char ** text ));
-LDAP_SLAPD_F (int) value_find LDAP_P((
+LDAP_SLAPD_F (int) value_find_ex LDAP_P((
AttributeDescription *ad,
+ unsigned flags,
struct berval **values,
struct berval *value ));
+#define value_find(ad, values, value) ( value_find_ex(ad,0,values,value ) )
LDAP_SLAPD_F (int) value_add LDAP_P(( struct berval ***vals, struct berval **addvals ));
/*
Entry **e,
const char **text ));
+LDAP_SLAPD_F (int) read_root_dse_file LDAP_P((
+ const char *file));
+
LDAP_SLAPD_F (int) do_abandon LDAP_P((Connection *conn, Operation *op));
LDAP_SLAPD_F (int) do_add LDAP_P((Connection *conn, Operation *op));
LDAP_SLAPD_F (int) do_bind LDAP_P((Connection *conn, Operation *op));