From: Juan Gomez Date: Fri, 5 Mar 1999 01:33:32 +0000 (+0000) Subject: Rename X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~476 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9fc5e8a409a33e008b0c92af353f382b2876e797;p=openldap Rename int add_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn )); int delete_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn )); int replace_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn )); to 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 )); So that ldbm and db2 backends can coexist. --- diff --git a/servers/slapd/back-bdb2/modify.c b/servers/slapd/back-bdb2/modify.c index b58aedc602..cbf5defe59 100644 --- a/servers/slapd/back-bdb2/modify.c +++ b/servers/slapd/back-bdb2/modify.c @@ -48,15 +48,15 @@ bdb2i_back_modify_internal( switch ( mod->mod_op & ~LDAP_MOD_BVALUES ) { case LDAP_MOD_ADD: - err = add_values( e, mod, op->o_ndn ); + err = bdb2i_add_values( e, mod, op->o_ndn ); break; case LDAP_MOD_DELETE: - err = delete_values( e, mod, op->o_ndn ); + err = bdb2i_delete_values( e, mod, op->o_ndn ); break; case LDAP_MOD_REPLACE: - err = replace_values( e, mod, op->o_ndn ); + err = bdb2i_replace_values( e, mod, op->o_ndn ); break; } @@ -155,7 +155,7 @@ bdb2_back_modify( int -add_values( +bdb2i_add_values( Entry *e, LDAPMod *mod, char *dn @@ -183,7 +183,7 @@ add_values( } int -delete_values( +bdb2i_delete_values( Entry *e, LDAPMod *mod, char *dn @@ -239,7 +239,7 @@ delete_values( } int -replace_values( +bdb2i_replace_values( Entry *e, LDAPMod *mod, char *dn