mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-11 23:03:21 -05:00
ITS#6573 export compare_entry as slap_compare_entry()
This commit is contained in:
parent
0393fe8974
commit
149313fd25
2 changed files with 12 additions and 8 deletions
|
|
@ -31,11 +31,6 @@
|
|||
|
||||
#include "slap.h"
|
||||
|
||||
static int compare_entry(
|
||||
Operation *op,
|
||||
Entry *e,
|
||||
AttributeAssertion *ava );
|
||||
|
||||
int
|
||||
do_compare(
|
||||
Operation *op,
|
||||
|
|
@ -176,7 +171,7 @@ fe_op_compare( Operation *op, SlapReply *rs )
|
|||
}
|
||||
|
||||
if( entry ) {
|
||||
rs->sr_err = compare_entry( op, entry, ava );
|
||||
rs->sr_err = slap_compare_entry( op, entry, ava );
|
||||
entry_free( entry );
|
||||
|
||||
send_ldap_result( op, rs );
|
||||
|
|
@ -352,7 +347,7 @@ cleanup:;
|
|||
return rs->sr_err;
|
||||
}
|
||||
|
||||
static int compare_entry(
|
||||
int slap_compare_entry(
|
||||
Operation *op,
|
||||
Entry *e,
|
||||
AttributeAssertion *ava )
|
||||
|
|
@ -373,7 +368,7 @@ static int compare_entry(
|
|||
goto done;
|
||||
}
|
||||
|
||||
for(a = attrs_find( e->e_attrs, ava->aa_desc );
|
||||
for(;
|
||||
a != NULL;
|
||||
a = attrs_find( a->a_next, ava->aa_desc ))
|
||||
{
|
||||
|
|
|
|||
|
|
@ -518,6 +518,15 @@ LDAP_SLAPD_F (void) ch_free LDAP_P(( void * ));
|
|||
#define free ch_free
|
||||
#endif
|
||||
|
||||
/*
|
||||
* compare.c
|
||||
*/
|
||||
|
||||
LDAP_SLAPD_F (int) slap_compare_entry LDAP_P((
|
||||
Operation *op,
|
||||
Entry *e,
|
||||
AttributeAssertion *ava ));
|
||||
|
||||
/*
|
||||
* component.c
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue