mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-01 14:15:49 +08:00
Made add_values(), delete_values(), and replace_values() so they can be
used in implementing modrdn v3.
This commit is contained in:
parent
cd90353f10
commit
68a413a601
@ -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,
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user