From: Juan Gomez Date: Wed, 26 May 1999 12:22:10 +0000 (+0000) Subject: Make bdb2i_modify_internal() public. X-Git-Tag: OPENLDAP_REL_ENG_2_BP~538 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=335f9f8f32d956089072f4bfaea5917f3c7965fe;p=openldap Make bdb2i_modify_internal() public. --- 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 */