Skip to content
Snippets Groups Projects
Commit 68a413a6 authored by Juan Gomez's avatar Juan Gomez
Browse files

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

used in implementing modrdn v3.
parent cd90353f
No related branches found
No related tags found
No related merge requests found
......@@ -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
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment