From 335f9f8f32d956089072f4bfaea5917f3c7965fe Mon Sep 17 00:00:00 2001 From: Juan Gomez Date: Wed, 26 May 1999 12:22:10 +0000 Subject: [PATCH] Make bdb2i_modify_internal() public. --- servers/slapd/back-bdb2/proto-back-bdb2.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/servers/slapd/back-bdb2/proto-back-bdb2.h b/servers/slapd/back-bdb2/proto-back-bdb2.h index 159757450d..84bca3724e 100644 --- a/servers/slapd/back-bdb2/proto-back-bdb2.h +++ b/servers/slapd/back-bdb2/proto-back-bdb2.h @@ -147,12 +147,19 @@ int bdb2i_index_add_values LDAP_P(( BackendDB *be, char *type, struct berval **v * modify.c * These prototypes are placed here because they are used by modify and * modify rdn which are implemented in different files. + * + * We need bdb2i_internal_modify here because of LDAP modrdn & modify use + * it. If we do not add this, there would be a bunch of code replication + * here and there and of course the likelihood of bugs increases. + * Juan C. Gomez (gomez@engr.sgi.com) 05/18/99 + * */ int bdb2i_add_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn )); int bdb2i_delete_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn )); int bdb2i_replace_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn )); - +int bdb2i_modify_internal LDAP_P((Backend *be, Connection *conn, Operation *op, + char *dn, LDAPModList *mods, Entry *e)); /* * nextid.c */ -- 2.39.5