#include "slap.h"
-static int compare_entry(
- Operation *op,
- Entry *e,
- AttributeAssertion *ava );
-
int
do_compare(
Operation *op,
}
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 );
return rs->sr_err;
}
-static int compare_entry(
+int slap_compare_entry(
Operation *op,
Entry *e,
AttributeAssertion *ava )
goto done;
}
- for(a = attrs_find( e->e_attrs, ava->aa_desc );
+ for(;
a != NULL;
a = attrs_find( a->a_next, ava->aa_desc ))
{