Made add_values(), delete_values(), and replace_values() so they can be

used in implementing modrdn v3.
This commit is contained in:
Juan Gomez 1999-03-03 22:55:28 +00:00
parent cd90353f10
commit 68a413a601
2 changed files with 13 additions and 6 deletions

View File

@ -11,9 +11,6 @@
#include "back-bdb2.h"
#include "proto-back-bdb2.h"
static int add_values(Entry *e, LDAPMod *mod, char *dn);
static int delete_values(Entry *e, LDAPMod *mod, char *dn);
static int replace_values(Entry *e, LDAPMod *mod, char *dn);
static int
bdb2i_back_modify_internal(
@ -157,7 +154,7 @@ bdb2_back_modify(
}
static int
int
add_values(
Entry *e,
LDAPMod *mod,
@ -185,7 +182,7 @@ add_values(
return( LDAP_SUCCESS );
}
static int
int
delete_values(
Entry *e,
LDAPMod *mod,
@ -241,7 +238,7 @@ delete_values(
return( LDAP_SUCCESS );
}
static int
int
replace_values(
Entry *e,
LDAPMod *mod,

View File

@ -131,6 +131,16 @@ int bdb2i_index_add_values LDAP_P(( BackendDB *be, char *type, struct berval **v
/* bdb2i_krbv4_ldap_auth LDAP_P(( BackendDB *be, struct berval *cred, AUTH_DAT *ad )); */
#endif
/*
* modify.c
* These prototypes are placed here because they are used by modify and
* modify rdn which are implemented in different files.
*/
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 ));
/*
* nextid.c
*/